This commit is contained in:
nub31
2026-02-27 22:32:29 +01:00
parent 73ecbf8e9b
commit e5227f7a99
7 changed files with 18 additions and 76 deletions

4
examples/core/mem.nub Normal file
View File

@@ -0,0 +1,4 @@
module core
export extern func malloc(size: u64): ^void
export extern func free(size: ^void)

View File

@@ -1,8 +1,5 @@
module core
export extern func malloc(size: u64): ^void
export extern func free(size: ^void)
extern func puts(text: ^u8)
export func print(text: string)