Issue #7047 has been updated by authorNari (Narihiro Nakamura).


kou (Kouhei Sutou) wrote:
> rb_obj_new()?????????????????????
> rb_obj_???prefix???????????????????????????????????

?????????????????????????????
?????????????????????????????????????????????????????????????????
----------------------------------------
Feature #7047: Add new C API: rb_newobj_with
https://bugs.ruby-lang.org/issues/7047#change-29961

Author: authorNari (Narihiro Nakamura)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 2.0.0


nari???????

????CRuby?????????????????????????????? rb_newobj() ???????????????
???????????????????????type???klass??????????????????????????T_STRING???????????????
??????????????????????????????????????????????????????

????????以????C API??追????????????????????

 * VALUE rb_newobj_with(VALUE, enum ruby_value_type);
 * #define NEWOBJ_WITH(obj,type,klass,flags)

ruby???????rb_newobj()???使?????????????????rb_newobj_with()??置???????????????
?????????????????????????????????rb_newobj???NEWOBJ???OBJSETUP???????????????
???????????????????????????????????????2.0???????????????????

???????????以????????????????
https://github.com/authorNari/ruby/compare/trunk...rb_newobj2.patch

???????rb_newobj_with????????????????????????????????rb_newobj2以????????????????
?????????????????????????????????



-- 
http://bugs.ruby-lang.org/