Changeset 439 for EcnlProtoTool/trunk/mruby-2.1.1/include/mruby/debug.h
- Timestamp:
- Jul 9, 2020, 8:51:43 AM (4 years ago)
- Location:
- EcnlProtoTool/trunk/mruby-2.1.1
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/mruby-2.1.1/include/mruby/debug.h
r331 r439 1 /* 2 ** mruby/debug.h - mruby debug info1 /** 2 ** @file mruby/debug.h - mruby debug info 3 3 ** 4 4 ** See Copyright Notice in mruby.h … … 27 27 typedef struct mrb_irep_debug_info_file { 28 28 uint32_t start_pos; 29 const char *filename;30 29 mrb_sym filename_sym; 31 30 uint32_t line_entry_count; … … 48 47 * @return returns NULL if not found 49 48 */ 50 MRB_API const char *mrb_debug_get_filename(mrb_ irep *irep, uint32_t pc);49 MRB_API const char *mrb_debug_get_filename(mrb_state *mrb, mrb_irep *irep, ptrdiff_t pc); 51 50 52 51 /* … … 54 53 * @return returns -1 if not found 55 54 */ 56 MRB_API int32_t mrb_debug_get_line(mrb_ irep *irep, uint32_t pc);55 MRB_API int32_t mrb_debug_get_line(mrb_state *mrb, mrb_irep *irep, ptrdiff_t pc); 57 56 57 MRB_API mrb_irep_debug_info *mrb_debug_info_alloc(mrb_state *mrb, mrb_irep *irep); 58 58 MRB_API mrb_irep_debug_info_file *mrb_debug_info_append_file( 59 mrb_state *mrb, mrb_irep *irep, 59 mrb_state *mrb, mrb_irep_debug_info *info, 60 const char *filename, uint16_t *lines, 60 61 uint32_t start_pos, uint32_t end_pos); 61 MRB_API mrb_irep_debug_info *mrb_debug_info_alloc(mrb_state *mrb, mrb_irep *irep);62 62 MRB_API void mrb_debug_info_free(mrb_state *mrb, mrb_irep_debug_info *d); 63 63
Note:
See TracChangeset
for help on using the changeset viewer.