From 30f7b7a0535575a4995ea59086830ee19c79ea82 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 26 Nov 2023 16:04:27 +0900 Subject: Prefix `REF_EDGE` and `REFS_LIST_PTR` with `RUBY_` Also move `struct` so that `typedef`-ed names can be used. --- dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dir.c') 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 }, -- cgit v1.2.3