Ignore:
Timestamp:
Jul 9, 2020, 8:51:43 AM (4 years ago)
Author:
coas-nagasima
Message:

mrubyを2.1.1に更新

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 info
     1/**
     2** @file mruby/debug.h - mruby debug info
    33**
    44** See Copyright Notice in mruby.h
     
    2727typedef struct mrb_irep_debug_info_file {
    2828  uint32_t start_pos;
    29   const char *filename;
    3029  mrb_sym filename_sym;
    3130  uint32_t line_entry_count;
     
    4847 * @return returns NULL if not found
    4948 */
    50 MRB_API const char *mrb_debug_get_filename(mrb_irep *irep, uint32_t pc);
     49MRB_API const char *mrb_debug_get_filename(mrb_state *mrb, mrb_irep *irep, ptrdiff_t pc);
    5150
    5251/*
     
    5453 * @return returns -1 if not found
    5554 */
    56 MRB_API int32_t mrb_debug_get_line(mrb_irep *irep, uint32_t pc);
     55MRB_API int32_t mrb_debug_get_line(mrb_state *mrb, mrb_irep *irep, ptrdiff_t pc);
    5756
     57MRB_API mrb_irep_debug_info *mrb_debug_info_alloc(mrb_state *mrb, mrb_irep *irep);
    5858MRB_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,
    6061    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);
    6262MRB_API void mrb_debug_info_free(mrb_state *mrb, mrb_irep_debug_info *d);
    6363
Note: See TracChangeset for help on using the changeset viewer.