summaryrefslogtreecommitdiff
path: root/lfunc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-09-16 16:25:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-09-16 16:25:59 -0300
commitff08b0f4069e322ec4c2b02aa5553424227357ba (patch)
tree5510334dd14e5cdc40aeb4511f924d227bb6927f /lfunc.h
parentc1801e623f75dab3ccc4444ebe76417e1ef88afb (diff)
downloadlua-ff08b0f4069e322ec4c2b02aa5553424227357ba.tar.gz
lua-ff08b0f4069e322ec4c2b02aa5553424227357ba.tar.bz2
lua-ff08b0f4069e322ec4c2b02aa5553424227357ba.zip
Lua Function structures
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