mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
use 0 for reserved
use 0 for rb_data_type_t::reserved instead of NULL, since its type may be changed in the future and possibly not a pointer type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
06bdfd0dfb
commit
e580a631be
47 changed files with 59 additions and 59 deletions
|
@ -1563,7 +1563,7 @@ autoload_memsize(const void *ptr)
|
|||
static const rb_data_type_t autoload_data_type = {
|
||||
"autoload",
|
||||
{autoload_mark, autoload_free, autoload_memsize,},
|
||||
NULL, NULL, RUBY_TYPED_FREE_IMMEDIATELY
|
||||
0, 0, RUBY_TYPED_FREE_IMMEDIATELY
|
||||
};
|
||||
|
||||
#define check_autoload_table(av) \
|
||||
|
@ -1607,7 +1607,7 @@ autoload_i_memsize(const void *ptr)
|
|||
static const rb_data_type_t autoload_data_i_type = {
|
||||
"autoload_i",
|
||||
{autoload_i_mark, RUBY_TYPED_DEFAULT_FREE, autoload_i_memsize,},
|
||||
NULL, NULL, RUBY_TYPED_FREE_IMMEDIATELY
|
||||
0, 0, RUBY_TYPED_FREE_IMMEDIATELY
|
||||
};
|
||||
|
||||
#define check_autoload_data(av) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue