Added byte type

This commit is contained in:
Eduard Urbach 2025-02-21 11:27:45 +01:00
parent 46ceb738ed
commit 8f3fa494ba
Signed by: eduard
GPG key ID: 49226B848C78F6C8
8 changed files with 16 additions and 13 deletions

View file

@ -1,6 +1,6 @@
import sys
alloc(length int) -> []int8 {
alloc(length int) -> []byte {
x := sys.mmap(0, length+8, prot.read|prot.write, map.private|map.anonymous)
if x < 0x1000 {