diff options
| -rw-r--r-- | ldo.c | 2 | ||||
| -rw-r--r-- | ldo.h | 1 |
2 files changed, 1 insertions, 2 deletions
| @@ -134,7 +134,7 @@ void luaD_lineHook (lua_State *L, int line, lua_Hook linehook) { | |||
| 134 | } | 134 | } |
| 135 | 135 | ||
| 136 | 136 | ||
| 137 | void luaD_callHook (lua_State *L, lua_Hook callhook, const char *event) { | 137 | static void luaD_callHook (lua_State *L, lua_Hook callhook, const char *event) { |
| 138 | if (L->allowhooks) { | 138 | if (L->allowhooks) { |
| 139 | lua_Debug ar; | 139 | lua_Debug ar; |
| 140 | ar.event = event; | 140 | ar.event = event; |
| @@ -23,7 +23,6 @@ | |||
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | void luaD_lineHook (lua_State *L, int line, lua_Hook linehook); | 25 | void luaD_lineHook (lua_State *L, int line, lua_Hook linehook); |
| 26 | void luaD_callHook (lua_State *L, lua_Hook callhook, const char *event); | ||
| 27 | StkId luaD_precall (lua_State *L, StkId func); | 26 | StkId luaD_precall (lua_State *L, StkId func); |
| 28 | void luaD_call (lua_State *L, StkId func, int nResults); | 27 | void luaD_call (lua_State *L, StkId func, int nResults); |
| 29 | void luaD_poscall (lua_State *L, int wanted, StkId firstResult); | 28 | void luaD_poscall (lua_State *L, int wanted, StkId firstResult); |
