1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2025-01-10 08:10:15 +02:00
nn-usb-fpga/lua/examples/lua_calls_C2/top2.lua

8 lines
174 B
Lua
Raw Normal View History

package.cpath = "./?.so"
require "luapassing"
print("hello")
value = 10
summat = cstuff.dothis(value)
print ("It's run da C code!")
print ("Values in Lua now",value, summat)