Already compiling and running for Lua 5.0 (alpha)

This commit is contained in:
Diego Nehab 2002-12-02 23:34:41 +00:00
parent b796207ce0
commit d7e80592a6
12 changed files with 164 additions and 101 deletions

View file

@ -56,5 +56,13 @@ LUASOCKET_API int lua_socketlibopen(lua_State *L)
buf_open(L);
tcps_open(L);
udp_open(L);
return 1;
#if LUASOCKET_DEBUG
lua_dofile(L, "concat.lua");
lua_dofile(L, "code.lua");
lua_dofile(L, "url.lua");
lua_dofile(L, "http.lua");
lua_dofile(L, "smtp.lua");
lua_dofile(L, "ftp.lua");
#endif
return 0;
}