From a69356e9e0a7525b1cebadc928a0efcce8c39b46 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 29 Mar 2000 17:19:20 -0300 Subject: no more special cases for closures with 0 upvalues (performance is the same, memory use a little higher, code much simpler). --- lvm.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lvm.h') diff --git a/lvm.h b/lvm.h index 1a733a44..c1facfc1 100644 --- a/lvm.h +++ b/lvm.h @@ -1,5 +1,5 @@ /* -** $Id: lvm.h,v 1.18 2000/03/09 00:19:22 roberto Exp roberto $ +** $Id: lvm.h,v 1.19 2000/03/10 18:37:44 roberto Exp roberto $ ** Lua virtual machine ** See Copyright Notice in lua.h */ @@ -26,8 +26,9 @@ void luaV_settable (lua_State *L, StkId t, StkId top); void luaV_rawsettable (lua_State *L, StkId t); void luaV_getglobal (lua_State *L, GlobalVar *gv, StkId top); void luaV_setglobal (lua_State *L, GlobalVar *gv, StkId top); -StkId luaV_execute (lua_State *L, const Closure *cl, const Proto *tf, StkId base); -void luaV_closure (lua_State *L, int nelems); +StkId luaV_execute (lua_State *L, const Closure *cl, register StkId base); +void luaV_Cclosure (lua_State *L, lua_CFunction c, int nelems); +void luaV_Lclosure (lua_State *L, Proto *l, int nelems); int luaV_lessthan (lua_State *L, const TObject *l, const TObject *r, StkId top); #endif -- cgit v1.2.3-55-g6feb