mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2026-11-04 16:02:20 +00:00
add a standard library, and introduce formed imports (import std "myfile.pork")
This commit is contained in:
18 files changed
+153
-32
No files matched your search
+1
-5
@@ -1,8 +1,4 @@
|
||||
func malloc(size)
|
||||
native ffi "c:malloc:void*"
|
||||
|
||||
func free(pointer)
|
||||
native ffi "c:free:void"
|
||||
import std "ffi/malloc.pork"
|
||||
|
||||
export func main() {
|
||||
while true {
|
||||
|
||||
Reference in new issue
Block a user