mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-04 18:28:30 +00:00
Add sqlite3 support to Lua scripts in redbean.
This commit is contained in:
parent
067c14891f
commit
b3a08d9286
3 changed files with 24 additions and 7 deletions
|
@ -3646,8 +3646,11 @@ static const luaL_Reg kLuaFuncs[] = {
|
|||
{"popcnt", LuaPopcnt}, //
|
||||
};
|
||||
|
||||
extern int luaopen_lsqlite3(lua_State *L);
|
||||
|
||||
static const luaL_Reg kLuaLibs[] = {
|
||||
{"re", LuaRe}, //
|
||||
{"lsqlite3", luaopen_lsqlite3},
|
||||
};
|
||||
|
||||
static void LuaSetArgv(lua_State *L) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue