Adding lua+sqlite functionality in the default windows binary build

This commit is contained in:
Sergey Lyubka committed 2013-01-31 13:38:32 +00:00
1 parent b21a8b2193
commit ce0826e285
4 files changed
+139321 -22

No files matched your search

+3
View File
@@ -3987,6 +3987,9 @@ static void prepare_lua_environment(struct mg_connection *conn, lua_State *L) {
int i;
luaL_openlibs(L);
#ifdef USE_LUA_SQLITE3
luaopen_lsqlite3(L);
#endif
// Register "print" function which calls mg_write()
lua_pushlightuserdata(L, conn);