moonbridge
diff moonbridge_io.h @ 84:8a6e2a80fcad
Refined interface of I/O library to directly support (previously opened) sockets
| author | jbe |
|---|---|
| date | Mon Apr 06 15:41:37 2015 +0200 (2015-04-06) |
| parents | 697cdf8e2000 |
| children | fca51922b708 |
line diff
1.1 --- a/moonbridge_io.h Mon Apr 06 15:02:15 2015 +0200 1.2 +++ b/moonbridge_io.h Mon Apr 06 15:41:37 2015 +0200 1.3 @@ -1,6 +1,4 @@ 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 +void moonbr_io_pushhandle(lua_State *L, int fd, int issocket); 1.9 int luaopen_moonbridge_io(lua_State *L); 1.10