small changes (preparing for new module of pre-compilation)

This commit is contained in:
Roberto Ierusalimschy 1996-02-26 14:06:39 -03:00
parent b04f88d581
commit 30dd3a2dbc
2 changed files with 5 additions and 1 deletions

4
func.c
View File

@ -19,8 +19,12 @@ static int maxcurrvars = 0;
*/
void luaI_initTFunc (TFunc *f)
{
f->next = NULL;
f->marked = 0;
f->size = 0;
f->code = NULL;
f->lineDefined = 0;
f->fileName = NULL;
f->locvars = NULL;
}

2
func.h
View File

@ -17,7 +17,7 @@ typedef struct LocVar
typedef struct TFunc
{
struct TFunc *next;
char marked;
int marked;
int size;
Byte *code;
int lineDefined;