mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-09 04:48:18 +00:00
This patch moves the function hlua_checkudata which check that an object contains the expected class_reference as metatable. This function is commonly used by all the lua functions. The function hlua_metatype is also moved.
8 lines
186 B
C
8 lines
186 B
C
#ifndef _PROTO_HLUA_FCN_H
|
|
#define _PROTO_HLUA_FCN_H
|
|
|
|
void *hlua_checkudata(lua_State *L, int ud, int class_ref);
|
|
int hlua_fcn_reg_core_fcn(lua_State *L);
|
|
|
|
#endif /* _PROTO_HLUA_FCN_H */
|