aboutsummaryrefslogtreecommitdiff
path: root/vendor/luasocket/src/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/luasocket/src/select.h')
-rw-r--r--vendor/luasocket/src/select.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/luasocket/src/select.h b/vendor/luasocket/src/select.h
new file mode 100644
index 00000000..5d45fe75
--- /dev/null
+++ b/vendor/luasocket/src/select.h
@@ -0,0 +1,23 @@
1#ifndef SELECT_H
2#define SELECT_H
3/*=========================================================================*\
4* Select implementation
5* LuaSocket toolkit
6*
7* Each object that can be passed to the select function has to export
8* method getfd() which returns the descriptor to be passed to the
9* underlying select function. Another method, dirty(), should return
10* true if there is data ready for reading (required for buffered input).
11\*=========================================================================*/
12
13#ifndef _WIN32
14#pragma GCC visibility push(hidden)
15#endif
16
17int select_open(lua_State *L);
18
19#ifndef _WIN32
20#pragma GCC visibility pop
21#endif
22
23#endif /* SELECT_H */