mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-07 16:22:37 -04:00
When Lua executes functions from its API, these can throws an error. These function must be executed in a special environment which catch these error, otherwise a critical error (like segfault) can raise. This patch add a c file called "hlua_fcn.c" which collect all the Lua/c function needing safe environment for its execution.
6 lines
126 B
C
6 lines
126 B
C
#ifndef _PROTO_HLUA_FCN_H
|
|
#define _PROTO_HLUA_FCN_H
|
|
|
|
int hlua_fcn_reg_core_fcn(lua_State *L);
|
|
|
|
#endif /* _PROTO_HLUA_FCN_H */
|