diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-02 14:24:45 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-12-02 14:24:45 -0200 |
commit | 8223ff473f3ffe782629fb1ba9ce1f96efeb7fd4 (patch) | |
tree | 94d59b8fcc1845002f8972f46069140cee7079c0 /ldo.c | |
parent | fe237ad8085f34e89fcd3610a9771215af63f03f (diff) | |
download | lua-8223ff473f3ffe782629fb1ba9ce1f96efeb7fd4.tar.gz lua-8223ff473f3ffe782629fb1ba9ce1f96efeb7fd4.tar.bz2 lua-8223ff473f3ffe782629fb1ba9ce1f96efeb7fd4.zip |
lua_Object is a pointer to the stack (because now the stack doen't move)
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 1.53 1999/11/25 18:58:51 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.54 1999/12/01 19:50:08 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 | */ |
@@ -121,8 +121,8 @@ void luaD_callHook (lua_State *L, StkId base, const TProtoFunc *tf, | |||
121 | else { | 121 | else { |
122 | TObject *f = base-1; | 122 | TObject *f = base-1; |
123 | if (tf) | 123 | if (tf) |
124 | (*L->callhook)(L, Ref(L, f), tf->source->str, tf->lineDefined); | 124 | v 1.3 1997/10/16, f, tf->source->str, tf->lineDefined); |
125 | else (*L->callhook)(L, Ref(L, f), "(C)", -1); | 125 | else (*L->callhook)(L, f, "(C)", -1); |
126 | } | 126 | } |
127 | L->top = old_top; | 127 | L->top = old_top; |
128 | L->Cstack = oldCLS; | 128 | L->Cstack = oldCLS; |