Lua loadable c library example (.so)

This commit is contained in:
Imbus 2025-08-18 11:23:04 +02:00
parent d089e583cd
commit c40c698ece
3 changed files with 50 additions and 0 deletions

2
lua_lib/driver.lua Normal file
View file

@ -0,0 +1,2 @@
local myhash = require "lookup3"
print(myhash.lookup3("hello", 0) % 100)