no need for tags in boxed values :-(

This commit is contained in:
Roberto Ierusalimschy
2001-02-01 15:40:48 -02:00
parent 9a231afa97
commit e506b864cd
7 changed files with 17 additions and 29 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lfunc.c,v 1.37 2001/01/19 13:20:30 roberto Exp roberto $
** $Id: lfunc.c,v 1.38 2001/01/29 19:34:02 roberto Exp roberto $
** Auxiliary functions to manipulate prototypes and closures
** See Copyright Notice in lua.h
*/
@@ -19,7 +19,6 @@
Closure *luaF_newclosure (lua_State *L, int nelems) {
Closure *c = (Closure *)luaM_malloc(L, sizeclosure(nelems));
c->v.ttype = LUA_TFUNCTION;
c->next = G(L)->rootcl;
G(L)->rootcl = c;
c->mark = c;