Skip to content

Commit 8dc46bc

Browse files
committed
Rename Init_pathname to differentiate from ext/pathname
1 parent 03800bf commit 8dc46bc

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

inits.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ rb_call_inits(void)
6969
CALL(Rational);
7070
CALL(Complex);
7171
CALL(MemoryView);
72-
CALL(pathname);
72+
CALL(pathname_builtin);
7373
CALL(version);
7474
CALL(vm_trace);
7575
CALL(vm_stack_canary);

pathname.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1499,18 +1499,18 @@ static void init_ids(void);
14991499
* information. In some cases, a brief description will follow.
15001500
*/
15011501
void
1502-
Init_pathname(void)
1502+
Init_pathname_builtin(void)
15031503
{
15041504
#ifdef HAVE_RB_EXT_RACTOR_SAFE
15051505
rb_ext_ractor_safe(true);
15061506
#endif
15071507

15081508
init_ids();
1509-
InitVM(pathname);
1509+
InitVM(pathname_builtin);
15101510
}
15111511

15121512
void
1513-
InitVM_pathname(void)
1513+
InitVM_pathname_builtin(void)
15141514
{
15151515
rb_cPathname = rb_define_class("Pathname", rb_cObject);
15161516
rb_define_method(rb_cPathname, "initialize", path_initialize, 1);

0 commit comments

Comments
 (0)