diff options
| author | Diego Nehab <diego.nehab@gmail.com> | 2016-03-04 15:36:32 -0300 |
|---|---|---|
| committer | Diego Nehab <diego.nehab@gmail.com> | 2016-03-04 15:36:32 -0300 |
| commit | 944305dc21350fd2ec32a9552d893da86894fd62 (patch) | |
| tree | 82948c24dade5e0da6924ab5e706f146bce4692a /src/timeout.h | |
| parent | cdce73b226cc4da6a073b79bec02a6780d32ff1a (diff) | |
| download | luasocket-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.h | 1 |
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); | |||
| 22 | double timeout_getstart(p_timeout tm); | 22 | double timeout_getstart(p_timeout tm); |
| 23 | double timeout_gettime(void); | 23 | double timeout_gettime(void); |
| 24 | int timeout_meth_settimeout(lua_State *L, p_timeout tm); | 24 | int timeout_meth_settimeout(lua_State *L, p_timeout tm); |
| 25 | int 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 | ||
