Added array type
This commit is contained in:
parent
c69f1aab5c
commit
7634244c56
13 changed files with 71 additions and 22 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue