Added byte type

This commit is contained in:
2025-02-21 11:27:45 +01:00
parent 8b932fb332
commit a42115c0fb
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 {

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 {

View File

@ -1,6 +1,6 @@
import sys
alloc(length int) -> []int8 {
alloc(length int) -> []byte {
x := sys.mmap(0, length+8, page.readwrite, mem.commit|mem.reserve)
if x < 0x1000 {