aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-29 11:57:23 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-08-29 11:57:23 -0300
commit58adbde2161e3c9d252a4802fd6a1e641e5e26b1 (patch)
tree308f2d0fe598df6a890d2e9e926eb664fbbd07ca
parent9e74ca62d7c2ea1326d9970b76403b03442f5933 (diff)
downloadlua-58adbde2161e3c9d252a4802fd6a1e641e5e26b1.tar.gz
lua-58adbde2161e3c9d252a4802fd6a1e641e5e26b1.tar.bz2
lua-58adbde2161e3c9d252a4802fd6a1e641e5e26b1.zip
details
-rw-r--r--ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index e9fc1505..312c995c 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 1.87 2000/08/29 14:33:31 roberto Exp roberto $ 2** $Id: ldo.c,v 1.88 2000/08/29 14:48:16 roberto Exp roberto $
3** Stack and Call structure of Lua 3** Stack and Call structure of Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -125,7 +125,7 @@ static void luaD_callHook (lua_State *L, StkId func, lua_Hook callhook,
125 ar._func = func; 125 ar._func = func;
126 ar.event = event; 126 ar.event = event;
127 L->allowhooks = 0; /* cannot call hooks inside a hook */ 127 L->allowhooks = 0; /* cannot call hooks inside a hook */
128 callhook(L, &ar); 128 (*callhook)(L, &ar);
129 L->allowhooks = 1; 129 L->allowhooks = 1;
130 L->top = old_top; 130 L->top = old_top;
131 L->Cbase = old_Cbase; 131 L->Cbase = old_Cbase;