func.h 420 B

123456789101112131415161718192021222324
  1. #ifndef func_h
  2. #define func_h
  3. #include "types.h"
  4. /*
  5. ** Header para funcoes.
  6. */
  7. typedef struct TFunc
  8. {
  9. struct TFunc *next;
  10. char marked;
  11. int size;
  12. Byte *code;
  13. int lineDefined;
  14. char *name1; /* function or method name (or null if main) */
  15. char *name2; /* object name (or null if not method) */
  16. char *fileName;
  17. } TFunc;
  18. Long luaI_funccollector (void);
  19. void luaI_insertfunction (TFunc *f);
  20. #endif