mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-12 05:32:16 -04: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.
7 lines
186 B
C
7 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 */
|