Constify RUBY_REFERENCES_START
tables
This commit is contained in:
parent
7fe7b7bc5a
commit
e81c380c0f
@ -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…
x
Reference in New Issue
Block a user