Lua loadable c library example (.so)
This commit is contained in:
parent
d089e583cd
commit
c40c698ece
3 changed files with 50 additions and 0 deletions
2
lua_lib/driver.lua
Normal file
2
lua_lib/driver.lua
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
local myhash = require "lookup3"
|
||||
print(myhash.lookup3("hello", 0) % 100)
|
||||
Loading…
Add table
Add a link
Reference in a new issue