mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add compaction notes for class/module creation C APIs
This commit is contained in:
parent
646131448e
commit
216e6605a4
Notes:
git
2021-01-27 09:24:33 +09:00
2 changed files with 12 additions and 0 deletions
|
@ -25,6 +25,10 @@
|
|||
|
||||
RBIMPL_SYMBOL_EXPORT_BEGIN()
|
||||
|
||||
/**
|
||||
* GC compaction note: class and modules returned by these four functions
|
||||
* do not move.
|
||||
*/
|
||||
VALUE rb_define_class(const char*,VALUE);
|
||||
VALUE rb_define_module(const char*);
|
||||
VALUE rb_define_class_under(VALUE, const char*, VALUE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue