diff options
Diffstat (limited to 'lfunc.h')
| -rw-r--r-- | lfunc.h | 26 |
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 | |||
| 14 | extern TProtoFunc *luaF_root; | ||
| 15 | extern Closure *luaF_rootcl; | ||
| 16 | |||
| 17 | |||
| 18 | TProtoFunc *luaF_newproto (void); | ||
| 19 | Closure *luaF_newclosure (int nelems); | ||
| 20 | void luaF_freeproto (TProtoFunc *l); | ||
| 21 | void luaF_freeclosure (Closure *l); | ||
| 22 | |||
| 23 | char *luaF_getlocalname (TProtoFunc *func, int local_number, int line); | ||
| 24 | |||
| 25 | |||
| 26 | #endif | ||
