lundump.h 600 B

123456789101112131415161718192021222324252627
  1. /*
  2. ** $Id: lundump.h,v 1.4 1998/01/13 20:05:24 lhf Exp $
  3. ** load pre-compiled Lua chunks
  4. ** See Copyright Notice in lua.h
  5. */
  6. #ifndef lundump_h
  7. #define lundump_h
  8. #include "lobject.h"
  9. #include "lzio.h"
  10. #define ID_CHUNK 27 /* ESC */
  11. #define ID_FUNCTION '#'
  12. #define ID_END '$'
  13. #define ID_NUM 'N'
  14. #define ID_STR 'S'
  15. #define ID_FUN 'F'
  16. #define SIGNATURE "Lua"
  17. #define VERSION 0x31 /* last format change was in 3.1 */
  18. #define TEST_FLOAT 0.123456789e-23 /* a float for testing representation */
  19. #define IsMain(f) (f->lineDefined==0)
  20. TProtoFunc* luaU_undump1(ZIO* Z); /* load one chunk */
  21. #endif