diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-06-14 04:29:23 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-06-14 04:29:23 +0000 |
commit | 65c35845c54c7f84b1cf5b0e3d4c7bbdaf1014e3 (patch) | |
tree | f6e3f1a31451281ac2a347c3080e9749456dac29 /src/luasocket.c | |
parent | 8b114f3bf4ccea3b065551fa94649a9e45935b5b (diff) | |
download | luasocket-65c35845c54c7f84b1cf5b0e3d4c7bbdaf1014e3.tar.gz luasocket-65c35845c54c7f84b1cf5b0e3d4c7bbdaf1014e3.tar.bz2 luasocket-65c35845c54c7f84b1cf5b0e3d4c7bbdaf1014e3.zip |
Working on the manual.
Diffstat (limited to 'src/luasocket.c')
-rw-r--r-- | src/luasocket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luasocket.c b/src/luasocket.c index 8f13dbc..2c3b526 100644 --- a/src/luasocket.c +++ b/src/luasocket.c | |||
@@ -89,12 +89,12 @@ static int base_open(lua_State *L) { | |||
89 | /* export functions (and leave namespace table on top of stack) */ | 89 | /* export functions (and leave namespace table on top of stack) */ |
90 | luaL_openlib(L, "socket", func, 0); | 90 | luaL_openlib(L, "socket", func, 0); |
91 | #ifdef LUASOCKET_DEBUG | 91 | #ifdef LUASOCKET_DEBUG |
92 | lua_pushstring(L, "DEBUG"); | 92 | lua_pushstring(L, "_DEBUG"); |
93 | lua_pushboolean(L, 1); | 93 | lua_pushboolean(L, 1); |
94 | lua_rawset(L, -3); | 94 | lua_rawset(L, -3); |
95 | #endif | 95 | #endif |
96 | /* make version string available to scripts */ | 96 | /* make version string available to scripts */ |
97 | lua_pushstring(L, "VERSION"); | 97 | lua_pushstring(L, "_VERSION"); |
98 | lua_pushstring(L, LUASOCKET_VERSION); | 98 | lua_pushstring(L, LUASOCKET_VERSION); |
99 | lua_rawset(L, -3); | 99 | lua_rawset(L, -3); |
100 | return 1; | 100 | return 1; |