Root/lua/examples/lua_calls_C2/top2.lua

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

Archive Download this file

Branches:
master



interactive