native: pass argument specs in order to support varadic ffi

This commit is contained in:
2023-09-11 01:12:32 -04:00
parent 8d310e337a
commit 2ee1565fb5
7 changed files with 33 additions and 9 deletions

5
examples/printf.pork Normal file
View File

@ -0,0 +1,5 @@
import std ffi.printf
export func main() {
printf("Hello World: %s\n", "Jolk")
}