diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-09-16 16:25:59 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-09-16 16:25:59 -0300 |
| commit | ff08b0f4069e322ec4c2b02aa5553424227357ba (patch) | |
| tree | 5510334dd14e5cdc40aeb4511f924d227bb6927f /lfunc.h | |
| parent | c1801e623f75dab3ccc4444ebe76417e1ef88afb (diff) | |
| download | lua-ff08b0f4069e322ec4c2b02aa5553424227357ba.tar.gz lua-ff08b0f4069e322ec4c2b02aa5553424227357ba.tar.bz2 lua-ff08b0f4069e322ec4c2b02aa5553424227357ba.zip | |
Lua Function structures
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 | ||
