mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-25 12:08:21 +01:00
unixstream: pragma visibility
This commit is contained in:
parent
d27b1a7945
commit
4e363330a3
@ -4,10 +4,6 @@
|
||||
\*=========================================================================*/
|
||||
#include "luasocket.h"
|
||||
|
||||
#include "lua.h"
|
||||
#include "lauxlib.h"
|
||||
#include "compat.h"
|
||||
|
||||
#include "auxiliar.h"
|
||||
#include "socket.h"
|
||||
#include "options.h"
|
||||
@ -82,7 +78,7 @@ static luaL_Reg func[] = {
|
||||
/*-------------------------------------------------------------------------*\
|
||||
* Initializes module
|
||||
\*-------------------------------------------------------------------------*/
|
||||
LUASOCKET_PRIVATE int unixstream_open(lua_State *L)
|
||||
int unixstream_open(lua_State *L)
|
||||
{
|
||||
/* create classes */
|
||||
auxiliar_newclass(L, "unixstream{master}", unixstream_methods);
|
||||
|
@ -16,6 +16,10 @@
|
||||
\*=========================================================================*/
|
||||
#include "unix.h"
|
||||
|
||||
#pragma GCC visibility push(hidden)
|
||||
|
||||
int unixstream_open(lua_State *L);
|
||||
|
||||
#pragma GCC visibility pop
|
||||
|
||||
#endif /* UNIXSTREAM_H */
|
||||
|
Loading…
Reference in New Issue
Block a user