summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-11-26 16:04:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-11-30 21:39:28 +0900
commit30f7b7a0535575a4995ea59086830ee19c79ea82 (patch)
treebe219e1468c17cba43014fe8d1757b563f299204 /dir.c
parent18f218d6a14f1a4744327d814554bfda04f1f119 (diff)
Prefix `REF_EDGE` and `REFS_LIST_PTR` with `RUBY_`
Also move `struct` so that `typedef`-ed names can be used.
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index ce5a90ebf7..08bead05d0 100644
--- a/dir.c
+++ b/dir.c
@@ -474,13 +474,13 @@ dir_free(void *ptr)
}
RUBY_REFERENCES_START(dir_refs)
- REF_EDGE(dir_data, path),
+ RUBY_REF_EDGE(struct dir_data, path),
RUBY_REFERENCES_END
static const rb_data_type_t dir_data_type = {
"dir",
{
- REFS_LIST_PTR(dir_refs),
+ RUBY_REFS_LIST_PTR(dir_refs),
dir_free,
NULL, // Nothing allocated externally, so don't need a memsize function
},