aboutsummaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 4218ea0..a0901fc 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -33,7 +33,9 @@ typedef struct t_buffer_ {
33} t_buffer; 33} t_buffer;
34typedef t_buffer *p_buffer; 34typedef t_buffer *p_buffer;
35 35
36#ifndef _WIN32
36#pragma GCC visibility push(hidden) 37#pragma GCC visibility push(hidden)
38#endif
37 39
38int buffer_open(lua_State *L); 40int buffer_open(lua_State *L);
39void buffer_init(p_buffer buf, p_io io, p_timeout tm); 41void buffer_init(p_buffer buf, p_io io, p_timeout tm);
@@ -43,6 +45,8 @@ int buffer_meth_send(lua_State *L, p_buffer buf);
43int buffer_meth_receive(lua_State *L, p_buffer buf); 45int buffer_meth_receive(lua_State *L, p_buffer buf);
44int buffer_isempty(p_buffer buf); 46int buffer_isempty(p_buffer buf);
45 47
48#ifndef _WIN32
46#pragma GCC visibility pop 49#pragma GCC visibility pop
50#endif
47 51
48#endif /* BUF_H */ 52#endif /* BUF_H */