Header: mruby/dump.h
Function Summary collapse
-
mrb_value mrb_load_irep_file(mrb_state*, FILE*)
-
mrb_value mrb_load_irep_file_cxt(mrb_state*, FILE*, mrbc_context*)
-
mrb_irep * mrb_read_irep(mrb_state*, const uint8_t*)
-
mrb_irep * mrb_read_irep_buf(mrb_state*, const void*, size_t)
Define Summary
- #define MRUBY_DUMP_H
- #define DUMP_DEBUG_INFO
Dumping compiled mruby script.
- #define DUMP_ENDIAN_BIG
- #define DUMP_ENDIAN_LIL
- #define DUMP_ENDIAN_NAT
- #define DUMP_ENDIAN_MASK
- #define MRB_DUMP_OK
dump/load error code
NOTE: MRB_DUMP_GENERAL_FAILURE is caused by unspecified issues like malloc failed.
- #define MRB_DUMP_GENERAL_FAILURE
- #define MRB_DUMP_WRITE_FAULT
- #define MRB_DUMP_READ_FAULT
- #define MRB_DUMP_CRC_ERROR
- #define MRB_DUMP_INVALID_FILE_HEADER
- #define MRB_DUMP_INVALID_IREP
- #define MRB_DUMP_INVALID_ARGUMENT
- #define MRB_DUMP_NULL_SYM_LEN
null symbol length
- #define RITE_BINARY_IDENT
Rite Binary File header
- #define RITE_BINARY_IDENT_LIL
- #define RITE_BINARY_FORMAT_VER
- #define RITE_COMPILER_NAME
- #define RITE_COMPILER_VERSION
- #define RITE_VM_VER
- #define RITE_BINARY_EOF
- #define RITE_SECTION_DEBUG_IDENT
- #define MRB_DUMP_DEFAULT_STR_LEN
- #define MRB_DUMP_ALIGNMENT
- #define RITE_SECTION_HEADER
section header
- #define RITE_LV_NULL_MARK