diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1995-10-04 11:20:26 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1995-10-04 11:20:26 -0300 |
| commit | f132ac03bcaf0163f1f86b5114c93a753e17f28b (patch) | |
| tree | 72bb57bf43d5f38ce00a81f05cff6db2744bf9fe /func.h | |
| parent | ec785a1d6517a3c247f4e6682deb1c9e2610db0e (diff) | |
| download | lua-f132ac03bcaf0163f1f86b5114c93a753e17f28b.tar.gz lua-f132ac03bcaf0163f1f86b5114c93a753e17f28b.tar.bz2 lua-f132ac03bcaf0163f1f86b5114c93a753e17f28b.zip | |
Module to manipulate function headers.
Diffstat (limited to 'func.h')
| -rw-r--r-- | func.h | 20 |
1 files changed, 20 insertions, 0 deletions
| @@ -0,0 +1,20 @@ | |||
| 1 | #ifndef func_h | ||
| 2 | #define func_h | ||
| 3 | |||
| 4 | #include "types.h" | ||
| 5 | |||
| 6 | /* | ||
| 7 | ** Header para funcoes. | ||
| 8 | */ | ||
| 9 | typedef struct TFunc | ||
| 10 | { | ||
| 11 | struct TFunc *next; | ||
| 12 | char marked; | ||
| 13 | int size; | ||
| 14 | Byte *code; | ||
| 15 | } TFunc; | ||
| 16 | |||
| 17 | Long luaI_funccollector (void); | ||
| 18 | void luaI_insertfunction (TFunc *f); | ||
| 19 | |||
| 20 | #endif | ||
