mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Add Hello World example for LUA C API (#97)
This commit is contained in:
parent
2a3037d4e8
commit
67c27d9e6e
7 changed files with 50 additions and 9 deletions
1
examples/hellolua.lua
Normal file
1
examples/hellolua.lua
Normal file
|
@ -0,0 +1 @@
|
|||
print(string.format("2 + 3 = %g", NativeAdd(2, 3)))
|
Loading…
Add table
Add a link
Reference in a new issue