summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-07-07 11:51:29 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-07-08 07:24:12 +0900
commitfb1d4ff6826098c5d44be1cd8500dd4cf97ed57c (patch)
tree21faccb28543abe8d71e725fe16540c3c2d53523 /mrbgems/mruby-bin-debugger/tools/mrdb/apilist.c
parent5f61b36a212185774a2ffa26fcf4017452dbafb1 (diff)
downloadmruby-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.c4
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;