diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-29 08:17:32 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-29 08:17:32 +0000 |
commit | f9ca636ae772bef04bb7f8ff7f899ad000f6c051 (patch) | |
tree | 118b10acb9fd8eea1100835608229d4067962636 /internal.h | |
parent | 7f7dcb61789ee77ad71b11298b5e0236703faf40 (diff) |
* internal.h: export rb_wb_(un)protected_newobj_of()
because some extensions include internal.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal.h b/internal.h index 30d4952734..8b63f2cb48 100644 --- a/internal.h +++ b/internal.h @@ -814,9 +814,6 @@ void ruby_sized_xfree(void *x, size_t size); void rb_gc_resurrect(VALUE ptr); -VALUE rb_wb_protected_newobj_of(VALUE, VALUE); -VALUE rb_wb_unprotected_newobj_of(VALUE, VALUE); - /* optimized version of NEWOBJ() */ #undef NEWOBJF_OF #undef RB_NEWOBJ_OF @@ -1324,6 +1321,9 @@ int rb_st_insert_id_and_value(VALUE obj, st_table *tbl, ID key, VALUE value); st_table *rb_st_copy(VALUE obj, struct st_table *orig_tbl); /* gc.c (export) */ +VALUE rb_wb_protected_newobj_of(VALUE, VALUE); +VALUE rb_wb_unprotected_newobj_of(VALUE, VALUE); + size_t rb_obj_memsize_of(VALUE); void rb_gc_verify_internal_consistency(void); |