aboutsummaryrefslogtreecommitdiff
path: root/src/timeout.c
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2002-12-02 23:34:41 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2002-12-02 23:34:41 +0000
commitd7e80592a69c076991ed4f4cc15d5390e14d1f0b (patch)
tree5fd9c99742b4a03e6a66f940a1f86f98d4db50c8 /src/timeout.c
parentb796207ce06a66b04cce6686b3fa664c06703995 (diff)
downloadluasocket-d7e80592a69c076991ed4f4cc15d5390e14d1f0b.tar.gz
luasocket-d7e80592a69c076991ed4f4cc15d5390e14d1f0b.tar.bz2
luasocket-d7e80592a69c076991ed4f4cc15d5390e14d1f0b.zip
Already compiling and running for Lua 5.0 (alpha)
Diffstat (limited to 'src/timeout.c')
-rw-r--r--src/timeout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timeout.c b/src/timeout.c
index 266a86e..fdbc47a 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -125,9 +125,9 @@ void tm_open(lua_State *L)
125 (void) L; 125 (void) L;
126#ifdef _DEBUG 126#ifdef _DEBUG
127 lua_pushcfunction(L, tm_lua_time); 127 lua_pushcfunction(L, tm_lua_time);
128 lua_setglobal(L, "_time"); 128 priv_newglobal(L, "_time");
129 lua_pushcfunction(L, tm_lua_sleep); 129 lua_pushcfunction(L, tm_lua_sleep);
130 lua_setglobal(L, "_sleep"); 130 priv_newglobal(L, "_sleep");
131#endif 131#endif
132} 132}
133 133