aboutsummaryrefslogtreecommitdiff
path: root/src/luasocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/luasocket.h')
-rw-r--r--src/luasocket.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/luasocket.h b/src/luasocket.h
index 4402c02..a580b2c 100644
--- a/src/luasocket.h
+++ b/src/luasocket.h
@@ -21,9 +21,16 @@
21/* note that 576 bytes is the maximum safe value */ 21/* note that 576 bytes is the maximum safe value */
22 22
23/*-------------------------------------------------------------------------*\ 23/*-------------------------------------------------------------------------*\
24* This macro prefixes all exported API functions
25\*-------------------------------------------------------------------------*/
26#ifndef LUASOCKET_API
27#define LUASOCKET_API extern
28#endif
29
30/*-------------------------------------------------------------------------*\
24* Initializes the library interface with Lua and the socket library. 31* Initializes the library interface with Lua and the socket library.
25* Defines the symbols exported to Lua. 32* Defines the symbols exported to Lua.
26\*-------------------------------------------------------------------------*/ 33\*-------------------------------------------------------------------------*/
27void lua_socketlibopen(lua_State *L); 34LUASOCKET_API void lua_socketlibopen(lua_State *L);
28 35
29#endif /* _LUASOCKET_H_ */ 36#endif /* _LUASOCKET_H_ */