aboutsummaryrefslogtreecommitdiff
path: root/src/timeout.h
diff options
context:
space:
mode:
authorDiego Nehab <diego.nehab@gmail.com>2016-03-04 15:36:32 -0300
committerDiego Nehab <diego.nehab@gmail.com>2016-03-04 15:36:32 -0300
commit944305dc21350fd2ec32a9552d893da86894fd62 (patch)
tree82948c24dade5e0da6924ab5e706f146bce4692a /src/timeout.h
parentcdce73b226cc4da6a073b79bec02a6780d32ff1a (diff)
downloadluasocket-944305dc21350fd2ec32a9552d893da86894fd62.tar.gz
luasocket-944305dc21350fd2ec32a9552d893da86894fd62.tar.bz2
luasocket-944305dc21350fd2ec32a9552d893da86894fd62.zip
Added gettimeout for completeness.
Also documented. Rordered manuals so order is alphabetical.
Diffstat (limited to 'src/timeout.h')
-rw-r--r--src/timeout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timeout.h b/src/timeout.h
index 6715ca7..af90231 100644
--- a/src/timeout.h
+++ b/src/timeout.h
@@ -22,6 +22,7 @@ p_timeout timeout_markstart(p_timeout tm);
22double timeout_getstart(p_timeout tm); 22double timeout_getstart(p_timeout tm);
23double timeout_gettime(void); 23double timeout_gettime(void);
24int timeout_meth_settimeout(lua_State *L, p_timeout tm); 24int timeout_meth_settimeout(lua_State *L, p_timeout tm);
25int timeout_meth_gettimeout(lua_State *L, p_timeout tm);
25 26
26#define timeout_iszero(tm) ((tm)->block == 0.0) 27#define timeout_iszero(tm) ((tm)->block == 0.0)
27 28