moonbridge
diff moonbridge_io.h @ 83:697cdf8e2000
Code cleanup and fixes in optionally non-blocking write/write_nb method; Allow to mark I/O handles as closed
| author | jbe |
|---|---|
| date | Mon Apr 06 15:02:15 2015 +0200 (2015-04-06) |
| parents | 1a0346580e6d |
| children | 8a6e2a80fcad |
line diff
1.1 --- a/moonbridge_io.h Mon Apr 06 03:41:30 2015 +0200 1.2 +++ b/moonbridge_io.h Mon Apr 06 15:02:15 2015 +0200 1.3 @@ -1,4 +1,6 @@ 1.4 1.5 void moonbr_io_pushhandle(lua_State *L, int fd, int gc_idx); 1.6 +int moonbr_io_isclosed(lua_State *L, int idx); 1.7 +void moonbr_io_markclosed(lua_State *L, int idx); 1.8 int luaopen_moonbridge_io(lua_State *L); 1.9