luasocket/src/select.h

24 lines
680 B
C
Raw Permalink Normal View History

#ifndef SELECT_H
#define SELECT_H
2003-03-28 22:08:50 +01:00
/*=========================================================================*\
* Select implementation
* LuaSocket toolkit
*
* Each object that can be passed to the select function has to export
* method getfd() which returns the descriptor to be passed to the
* underlying select function. Another method, dirty(), should return
* true if there is data ready for reading (required for buffered input).
2003-03-28 22:08:50 +01:00
\*=========================================================================*/
2002-07-03 21:06:54 +02:00
#ifndef _WIN32
2019-02-28 04:59:01 +01:00
#pragma GCC visibility push(hidden)
#endif
2019-02-28 04:59:01 +01:00
int select_open(lua_State *L);
2002-07-03 21:06:54 +02:00
#ifndef _WIN32
2019-02-28 04:59:01 +01:00
#pragma GCC visibility pop
#endif
2019-02-28 04:59:01 +01:00
#endif /* SELECT_H */