diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2001-09-12 22:08:43 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2001-09-12 22:08:43 +0000 |
commit | 5b7d44e961ba6651bc5c37da08ebcb999ed95d79 (patch) | |
tree | baff218b2d41a8a163d7ebc79d4792b4f62f45cf /src | |
parent | d794e581ff769953d4f34ae44ecd14ac200f4991 (diff) | |
download | luasocket-5b7d44e961ba6651bc5c37da08ebcb999ed95d79.tar.gz luasocket-5b7d44e961ba6651bc5c37da08ebcb999ed95d79.tar.bz2 luasocket-5b7d44e961ba6651bc5c37da08ebcb999ed95d79.zip |
lua_socketlibopen now returns a result code.
Updated for LuaSocket 1.4.
Diffstat (limited to 'src')
-rw-r--r-- | src/luasocket.h | 4 |
1 files 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 @@ | |||
8 | #define _LUASOCKET_H_ | 8 | #define _LUASOCKET_H_ |
9 | 9 | ||
10 | /* Current luasocket version */ | 10 | /* Current luasocket version */ |
11 | #define LUASOCKET_VERSION "LuaSocket 1.3b" | 11 | #define LUASOCKET_VERSION "LuaSocket 1.4" |
12 | 12 | ||
13 | /*-------------------------------------------------------------------------*\ | 13 | /*-------------------------------------------------------------------------*\ |
14 | * These can be changed to according to the applications' needs. | 14 | * These can be changed to according to the applications' needs. |
@@ -31,6 +31,6 @@ | |||
31 | * Initializes the library interface with Lua and the socket library. | 31 | * Initializes the library interface with Lua and the socket library. |
32 | * Defines the symbols exported to Lua. | 32 | * Defines the symbols exported to Lua. |
33 | \*-------------------------------------------------------------------------*/ | 33 | \*-------------------------------------------------------------------------*/ |
34 | LUASOCKET_API void lua_socketlibopen(lua_State *L); | 34 | LUASOCKET_API int lua_socketlibopen(lua_State *L); |
35 | 35 | ||
36 | #endif /* _LUASOCKET_H_ */ | 36 | #endif /* _LUASOCKET_H_ */ |