Lua embedding example
This commit is contained in:
parent
1827291dc4
commit
726f01dadf
4 changed files with 57 additions and 0 deletions
8
lua_embed/script.lua
Normal file
8
lua_embed/script.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
local result = c_add(10, 25)
|
||||
print("Result from C function: " .. result)
|
||||
|
||||
HereYouCan = {
|
||||
"Execute Arbitrary Lua Code"
|
||||
}
|
||||
|
||||
print(HereYouCan[1])
|
||||
Loading…
Add table
Add a link
Reference in a new issue