aboutsummaryrefslogtreecommitdiff
path: root/lfunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lfunc.h')
-rw-r--r--lfunc.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/lfunc.h b/lfunc.h
new file mode 100644
index 00000000..ed5a085b
--- /dev/null
+++ b/lfunc.h
@@ -0,0 +1,26 @@
1/*
2** $Id: $
3** Lua Function structures
4** See Copyright Notice in lua.h
5*/
6
7#ifndef lfunc_h
8#define lfunc_h
9
10
11#include "lobject.h"
12
13
14extern TProtoFunc *luaF_root;
15extern Closure *luaF_rootcl;
16
17
18TProtoFunc *luaF_newproto (void);
19Closure *luaF_newclosure (int nelems);
20void luaF_freeproto (TProtoFunc *l);
21void luaF_freeclosure (Closure *l);
22
23char *luaF_getlocalname (TProtoFunc *func, int local_number, int line);
24
25
26#endif