mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-16 05:49:53 +02:00
Already compiling and running for Lua 5.0 (alpha)
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user