aboutsummaryrefslogtreecommitdiff
path: root/func.h
diff options
context:
space:
mode:
Diffstat (limited to 'func.h')
-rw-r--r--func.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/func.h b/func.h
deleted file mode 100644
index 5af43056..00000000
--- a/func.h
+++ /dev/null
@@ -1,41 +0,0 @@
1/*
2** $Id: func.h,v 1.11 1997/07/29 20:38:45 roberto Exp roberto $
3*/
4
5#ifndef func_h
6#define func_h
7
8#include "types.h"
9#include "lua.h"
10#include "tree.h"
11
12typedef struct LocVar
13{
14 TaggedString *varname; /* NULL signals end of scope */
15 int line;
16} LocVar;
17
18
19/*
20** Function Headers
21*/
22typedef struct TFunc
23{
24 struct TFunc *next;
25 int marked;
26 Byte *code;
27 int lineDefined;
28 TaggedString *fileName;
29 struct TObject *consts;
30 int nconsts;
31 LocVar *locvars;
32} TFunc;
33
34TFunc *luaI_funccollector (long *cont);
35void luaI_funcfree (TFunc *l);
36void luaI_funcmark (TFunc *f);
37void luaI_initTFunc (TFunc *f);
38
39char *luaI_getlocalname (TFunc *func, int local_number, int line);
40
41#endif