From 5b7d44e961ba6651bc5c37da08ebcb999ed95d79 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Wed, 12 Sep 2001 22:08:43 +0000 Subject: [PATCH] lua_socketlibopen now returns a result code. Updated for LuaSocket 1.4. --- src/luasocket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/luasocket.h b/src/luasocket.h index a580b2c..319bffb 100644 --- a/src/luasocket.h +++ b/src/luasocket.h @@ -8,7 +8,7 @@ #define _LUASOCKET_H_ /* 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. @@ -31,6 +31,6 @@ * Initializes the library interface with Lua and the socket library. * 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_ */