Project

General

Profile

« Previous | Next » 

Revision 37275

Added by nari over 6 years ago

  • include/ruby/ruby.h: add C APIs.
    VALUE rb_newobj_of(VALUE klass, VALUE flags)
    #define NEWOBJ_OF(obj,type,klass,flags)
    These allow to change a allocation strategy depending on klass
    or flags.

  • gc.c: ditto

  • array.c: use new C API.

  • bignum.c: ditto

  • class.c: ditto

  • complex.c: ditto

  • ext/socket/ancdata.c: ditto

  • ext/socket/option.c: ditto

  • hash.c: ditto

  • io.c: ditto

  • marshal.c: ditto

  • numeric.c: ditto

  • object.c: ditto

  • random.c: ditto

  • range.c: ditto

  • rational.c: ditto

  • re.c: ditto

  • string.c: ditto

  • struct.c: ditto
    [Feature #7177][Feature #7047]