Roberto Ierusalimschy 23 роки тому
батько
коміт
653977a0ac
2 змінених файлів з 1 додано та 2 видалено
  1. 1 1
      ldo.c
  2. 0 1
      ldo.h

+ 1 - 1
ldo.c

@@ -134,7 +134,7 @@ void luaD_lineHook (lua_State *L, int line, lua_Hook linehook) {
 }
 }
 
 
 
 
-void luaD_callHook (lua_State *L, lua_Hook callhook, const char *event) {
+static void luaD_callHook (lua_State *L, lua_Hook callhook, const char *event) {
   if (L->allowhooks) {
   if (L->allowhooks) {
     lua_Debug ar;
     lua_Debug ar;
     ar.event = event;
     ar.event = event;

+ 0 - 1
ldo.h

@@ -23,7 +23,6 @@
 
 
 
 
 void luaD_lineHook (lua_State *L, int line, lua_Hook linehook);
 void luaD_lineHook (lua_State *L, int line, lua_Hook linehook);
-void luaD_callHook (lua_State *L, lua_Hook callhook, const char *event);
 StkId luaD_precall (lua_State *L, StkId func);
 StkId luaD_precall (lua_State *L, StkId func);
 void luaD_call (lua_State *L, StkId func, int nResults);
 void luaD_call (lua_State *L, StkId func, int nResults);
 void luaD_poscall (lua_State *L, int wanted, StkId firstResult);
 void luaD_poscall (lua_State *L, int wanted, StkId firstResult);