1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-09-03 01:21:16 +03:00

Rewrite open all Lua libraries

This commit is contained in:
bel
2015-03-08 21:35:54 +01:00
parent 66f424552d
commit b14ab7b00a
2 changed files with 12 additions and 13 deletions

View File

@@ -557,9 +557,9 @@ static void set_absolute_path(char *options[], const char *option_name,
#ifdef USE_LUA
#define main luatest_main
#define luaL_openlibs lua_civet_openlibs
#define luaL_openlibs lua_civet_open_all_libs
struct lua_State;
extern void lua_civet_openlibs(struct lua_State *L);
extern void lua_civet_open_all_libs(struct lua_State *L);
#include "../src/third_party/lua-5.2.3/src/lua.c"
#undef main
#endif