mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 14:05:02 +02:00
Constify RUBY_REFERENCES_START
tables
This commit is contained in:
parent
7fe7b7bc5a
commit
e81c380c0f
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ RBIMPL_SYMBOL_EXPORT_BEGIN()
|
|||
#define REF_EDGE(s, p) (offsetof(struct s, p))
|
||||
#define REFS_LIST_PTR(l) ((RUBY_DATA_FUNC)l)
|
||||
#define RUBY_REF_END SIZE_MAX
|
||||
#define RUBY_REFERENCES_START(t) static size_t t[] = {
|
||||
#define RUBY_REFERENCES_START(t) static const size_t t[] = {
|
||||
#define RUBY_REFERENCES_END RUBY_REF_END, };
|
||||
|
||||
/* gc.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue