Added array type
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import sys
|
||||
|
||||
alloc(length Int) -> Pointer {
|
||||
alloc(length Int) -> []Int8 {
|
||||
x := sys.mmap(0, length+8, 0x1|0x2, 0x02|0x20)
|
||||
|
||||
if x < 0x1000 {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import sys
|
||||
|
||||
alloc(length Int) -> Pointer {
|
||||
alloc(length Int) -> []Int8 {
|
||||
x := sys.mmap(0, length+8, 0x1|0x2, 0x02|0x1000)
|
||||
|
||||
if x < 0x1000 {
|
||||
|
@ -1,6 +1,6 @@
|
||||
import sys
|
||||
|
||||
alloc(length Int) -> Pointer {
|
||||
alloc(length Int) -> []Int8 {
|
||||
x := sys.mmap(0, length+8, 0x0004, 0x3000)
|
||||
|
||||
if x < 0x1000 {
|
||||
|
Reference in New Issue
Block a user