Added byte type
This commit is contained in:
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user