diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-26 19:09:16 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-30 21:39:28 +0900 |
commit | 0cdad3b92a7e117bc7e36779140f5c83b07ca7ce (patch) | |
tree | 2d1616a85c086cd458c054309368dd175ba7602a /dir.c | |
parent | 30f7b7a0535575a4995ea59086830ee19c79ea82 (diff) |
Add `RUBY_REFERENCES`
Instead of `RUBY_REFERENCES_START` and `RUBY_REFERENCES_END`, so that
auto-indent works well.
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -473,9 +473,10 @@ dir_free(void *ptr) if (dir->dir) closedir(dir->dir); } -RUBY_REFERENCES_START(dir_refs) +RUBY_REFERENCES(dir_refs) = { RUBY_REF_EDGE(struct dir_data, path), -RUBY_REFERENCES_END + RUBY_REF_END +}; static const rb_data_type_t dir_data_type = { "dir", |