diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-07-07 11:51:29 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-07-08 07:24:12 +0900 |
| commit | fb1d4ff6826098c5d44be1cd8500dd4cf97ed57c (patch) | |
| tree | 21faccb28543abe8d71e725fe16540c3c2d53523 /mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c | |
| parent | 5f61b36a212185774a2ffa26fcf4017452dbafb1 (diff) | |
| download | mruby-fb1d4ff6826098c5d44be1cd8500dd4cf97ed57c.tar.gz mruby-fb1d4ff6826098c5d44be1cd8500dd4cf97ed57c.zip | |
mruby-bin-debugger: rename prefix 'mrb_debug_' to `mrdb_`.
Diffstat (limited to 'mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c')
| -rw-r--r-- | mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c b/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c index ef80872e5..217558b5d 100644 --- a/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c +++ b/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c @@ -75,7 +75,7 @@ dirname(mrb_state *mrb, const char *path) p = strrchr(path, '/'); len = p != NULL ? (size_t)(p - path) : strlen(path); - return mrb_debug_strndup(mrb, path, len); + return mrdb_strndup(mrb, path, len); } static source_file* @@ -94,7 +94,7 @@ source_file_new(mrb_state *mrb, mrb_debug_context *dbg, char *filename) } file->lineno = 1; - file->path = mrb_debug_strdup(mrb, filename); + file->path = mrdb_strdup(mrb, filename); if (file->path == NULL) { source_file_free(mrb, file); return NULL; |
