aboutsummaryrefslogtreecommitdiff
path: root/src/timeout.c
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2003-06-09 18:23:40 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2003-06-09 18:23:40 +0000
commit58bdb658aaa1c30a8f3bed46eef880d308fae582 (patch)
tree5bf880c715daff79c1a2062f2f3ae8336858c83f /src/timeout.c
parentb2724ad2d1cc3768a04270ed3f8014ec65ad133b (diff)
downloadluasocket-58bdb658aaa1c30a8f3bed46eef880d308fae582.tar.gz
luasocket-58bdb658aaa1c30a8f3bed46eef880d308fae582.tar.bz2
luasocket-58bdb658aaa1c30a8f3bed46eef880d308fae582.zip
Select re-implemented in a nicer way.
Few changes in internal class and group registration. Lua modules are compiled and built into library. Dynamic library tested in Linux and Mac OS X.
Diffstat (limited to 'src/timeout.c')
-rw-r--r--src/timeout.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/timeout.c b/src/timeout.c
index 17878aa..1553069 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -12,8 +12,8 @@
12#include <lauxlib.h> 12#include <lauxlib.h>
13 13
14#include "luasocket.h" 14#include "luasocket.h"
15#include "aux.h" 15#include "auxiliar.h"
16#include "tm.h" 16#include "timeout.h"
17 17
18#ifdef WIN32 18#ifdef WIN32
19#include <windows.h> 19#include <windows.h>
@@ -118,6 +118,7 @@ int tm_gettime(void)
118void tm_open(lua_State *L) 118void tm_open(lua_State *L)
119{ 119{
120 luaL_openlib(L, LUASOCKET_LIBNAME, func, 0); 120 luaL_openlib(L, LUASOCKET_LIBNAME, func, 0);
121 lua_pop(L, 1);
121} 122}
122 123
123/*-------------------------------------------------------------------------*\ 124/*-------------------------------------------------------------------------*\