mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-27 04:48:21 +01:00
lua_socketlibopen now returns a result code.
Updated for LuaSocket 1.4.
This commit is contained in:
parent
d794e581ff
commit
5b7d44e961
@ -8,7 +8,7 @@
|
|||||||
#define _LUASOCKET_H_
|
#define _LUASOCKET_H_
|
||||||
|
|
||||||
/* Current luasocket version */
|
/* Current luasocket version */
|
||||||
#define LUASOCKET_VERSION "LuaSocket 1.3b"
|
#define LUASOCKET_VERSION "LuaSocket 1.4"
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------*\
|
/*-------------------------------------------------------------------------*\
|
||||||
* These can be changed to according to the applications' needs.
|
* These can be changed to according to the applications' needs.
|
||||||
@ -31,6 +31,6 @@
|
|||||||
* Initializes the library interface with Lua and the socket library.
|
* Initializes the library interface with Lua and the socket library.
|
||||||
* Defines the symbols exported to Lua.
|
* Defines the symbols exported to Lua.
|
||||||
\*-------------------------------------------------------------------------*/
|
\*-------------------------------------------------------------------------*/
|
||||||
LUASOCKET_API void lua_socketlibopen(lua_State *L);
|
LUASOCKET_API int lua_socketlibopen(lua_State *L);
|
||||||
|
|
||||||
#endif /* _LUASOCKET_H_ */
|
#endif /* _LUASOCKET_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user