1995-10-04 07:20:26 -07:00
|
|
|
#ifndef func_h
|
|
|
|
#define func_h
|
|
|
|
|
|
|
|
#include "types.h"
|
1995-10-26 07:21:56 -07:00
|
|
|
#include "lua.h"
|
1995-10-04 07:20:26 -07:00
|
|
|
|
|
|
|
/*
|
|
|
|
** Header para funcoes.
|
|
|
|
*/
|
|
|
|
typedef struct TFunc
|
|
|
|
{
|
|
|
|
struct TFunc *next;
|
|
|
|
char marked;
|
|
|
|
int size;
|
|
|
|
Byte *code;
|
1995-10-17 04:58:41 -07:00
|
|
|
int lineDefined;
|
|
|
|
char *fileName;
|
1995-10-04 07:20:26 -07:00
|
|
|
} TFunc;
|
|
|
|
|
|
|
|
Long luaI_funccollector (void);
|
|
|
|
void luaI_insertfunction (TFunc *f);
|
|
|
|
|
1995-10-26 07:21:56 -07:00
|
|
|
|
1995-10-04 07:20:26 -07:00
|
|
|
#endif
|