...
This commit is contained in:
4
example/src/c.nub
Normal file
4
example/src/c.nub
Normal file
@@ -0,0 +1,4 @@
|
||||
namespace c
|
||||
|
||||
extern func printf(fmt: cstring, arg: u64): void
|
||||
extern func puts(fmt: cstring)
|
||||
6
example/src/main.nub
Normal file
6
example/src/main.nub
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace main
|
||||
|
||||
export func main(args: []cstring): i64 {
|
||||
c::puts("test")
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user