diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-26 16:04:27 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-30 21:39:28 +0900 |
commit | 30f7b7a0535575a4995ea59086830ee19c79ea82 (patch) | |
tree | be219e1468c17cba43014fe8d1757b563f299204 /dir.c | |
parent | 18f218d6a14f1a4744327d814554bfda04f1f119 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 }, |