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


ko1 (Koichi Sasada) wrote:
> (2012/09/26 22:22), authorNari (Narihiro Nakamura) wrote:
>  > rb_newobj_with(klass, VALUE flags) ?????????????修正?????????????
>  
>  flags ???????????????????????????rb_newobj_with_flags ???????????????????
>  ?????????????????????????????質?????????????????????????????????????
>  ????????????????????????????????????????????????????
>  

???????????????桦????????????????????????
with_flags????????????????????????????????????????flags???klass??????????????
???????????????????????????????????? rb_newobj_of(xxx) ??????????????????????????
???????????????????????new obj of class ???????????????

  * rb_newobj_of(klass, VALUE flags)
  * NEWOBJ_OF(obj,type,klass,flags)

???対???????????????????????????????????????????????????????????????????????????
# ???????ruby-core?????????????????????

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

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/