lunarmodules/luasql

Problem loading driver with luajit

EzequielHiran opened this issue · 0 comments

Hi, I am trying to load luasql.sqlite3 driver, it loads well with standard lua 5.4.4 but fails with luajit 2.1.0-beta3 with this error:

undefined symbol: lua_newuserdatauv

I have found the api changed from lua_newuserdata to this new function version with 3 parameters and standard lua seems up to-date but lua jit seems to be not.
What should I change?