diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-30 15:27:53 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-01-30 15:27:53 -0200 |
commit | 653977a0ac6de8f89980764da8b88412dd6ea187 (patch) | |
tree | 60243bd5b8fe3962419552458f136c34d7e7163b | |
parent | d6fd33e76fdeb919fd91860aa9d0f9524e6d415a (diff) | |
download | lua-653977a0ac6de8f89980764da8b88412dd6ea187.tar.gz lua-653977a0ac6de8f89980764da8b88412dd6ea187.tar.bz2 lua-653977a0ac6de8f89980764da8b88412dd6ea187.zip |
callhook can be static
-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); |