diff options
author | Caleb Maclennan <caleb@alerque.com> | 2023-11-10 09:12:04 +0300 |
---|---|---|
committer | Caleb Maclennan <caleb@alerque.com> | 2023-11-10 09:12:04 +0300 |
commit | 5c4fc93d5f4137bf4c22ddf1a048c907a4a26727 (patch) | |
tree | a9a68e1f6a9c3bfe2b64fa1c3a4098865b7d3b5d /src/auxiliar.h | |
parent | ccef3bc4e2aa6ee5b997a80aabb58f4ff0b0e98f (diff) | |
parent | 43a97b7f0053313b43906371dbdc226271e6c8ab (diff) | |
download | luasocket-hjelmeland-patch-1.tar.gz luasocket-hjelmeland-patch-1.tar.bz2 luasocket-hjelmeland-patch-1.zip |
Merge branch 'master' into hjelmeland-patch-1hjelmeland-patch-1
Diffstat (limited to '')
-rw-r--r-- | src/auxiliar.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/auxiliar.h b/src/auxiliar.h index 65511d4..e8c3ead 100644 --- a/src/auxiliar.h +++ b/src/auxiliar.h | |||
@@ -29,20 +29,26 @@ | |||
29 | * reverse mapping are done using lauxlib. | 29 | * reverse mapping are done using lauxlib. |
30 | \*=========================================================================*/ | 30 | \*=========================================================================*/ |
31 | 31 | ||
32 | #include "lua.h" | 32 | #include "luasocket.h" |
33 | #include "lauxlib.h" | 33 | |
34 | #include "compat.h" | 34 | #ifndef _WIN32 |
35 | #pragma GCC visibility push(hidden) | ||
36 | #endif | ||
35 | 37 | ||
36 | int auxiliar_open(lua_State *L); | 38 | int auxiliar_open(lua_State *L); |
37 | void auxiliar_newclass(lua_State *L, const char *classname, luaL_Reg *func); | 39 | void auxiliar_newclass(lua_State *L, const char *classname, luaL_Reg *func); |
40 | int auxiliar_tostring(lua_State *L); | ||
38 | void auxiliar_add2group(lua_State *L, const char *classname, const char *group); | 41 | void auxiliar_add2group(lua_State *L, const char *classname, const char *group); |
39 | void auxiliar_setclass(lua_State *L, const char *classname, int objidx); | 42 | int auxiliar_checkboolean(lua_State *L, int objidx); |
40 | void *auxiliar_checkclass(lua_State *L, const char *classname, int objidx); | 43 | void *auxiliar_checkclass(lua_State *L, const char *classname, int objidx); |
41 | void *auxiliar_checkgroup(lua_State *L, const char *groupname, int objidx); | 44 | void *auxiliar_checkgroup(lua_State *L, const char *groupname, int objidx); |
42 | void *auxiliar_getclassudata(lua_State *L, const char *groupname, int objidx); | 45 | void auxiliar_setclass(lua_State *L, const char *classname, int objidx); |
43 | void *auxiliar_getgroupudata(lua_State *L, const char *groupname, int objidx); | 46 | void *auxiliar_getgroupudata(lua_State *L, const char *groupname, int objidx); |
44 | int auxiliar_checkboolean(lua_State *L, int objidx); | 47 | void *auxiliar_getclassudata(lua_State *L, const char *groupname, int objidx); |
45 | int auxiliar_tostring(lua_State *L); | ||
46 | int auxiliar_typeerror(lua_State *L, int narg, const char *tname); | 48 | int auxiliar_typeerror(lua_State *L, int narg, const char *tname); |
47 | 49 | ||
50 | #ifndef _WIN32 | ||
51 | #pragma GCC visibility pop | ||
52 | #endif | ||
53 | |||
48 | #endif /* AUXILIAR_H */ | 54 | #endif /* AUXILIAR_H */ |