зеркало из https://github.com/github/ruby.git
* include/ruby/ruby.h: enable to generate write barrier protected
objects for numeric types (Float, Complex, Rational, Bignum). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
9b6b3672cc
Коммит
1829147fb5
|
@ -1,3 +1,8 @@
|
|||
Tue May 14 03:17:15 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* include/ruby/ruby.h: enable to generate write barrier protected
|
||||
objects for numeric types (Float, Complex, Rational, Bignum).
|
||||
|
||||
Tue May 14 03:10:59 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* include/ruby/ruby.h: enable RGENGC (USE_RGENGC)
|
||||
|
|
|
@ -695,16 +695,16 @@ VALUE rb_obj_setup(VALUE obj, VALUE klass, VALUE type);
|
|||
#define RGENGC_WB_PROTECTED_OBJECT 0
|
||||
#endif
|
||||
#ifndef RGENGC_WB_PROTECTED_FLOAT
|
||||
#define RGENGC_WB_PROTECTED_FLOAT 0
|
||||
#define RGENGC_WB_PROTECTED_FLOAT 1
|
||||
#endif
|
||||
#ifndef RGENGC_WB_PROTECTED_COMPLEX
|
||||
#define RGENGC_WB_PROTECTED_COMPLEX 0
|
||||
#define RGENGC_WB_PROTECTED_COMPLEX 1
|
||||
#endif
|
||||
#ifndef RGENGC_WB_PROTECTED_RATIONAL
|
||||
#define RGENGC_WB_PROTECTED_RATIONAL 0
|
||||
#define RGENGC_WB_PROTECTED_RATIONAL 1
|
||||
#endif
|
||||
#ifndef RGENGC_WB_PROTECTED_BIGNUM
|
||||
#define RGENGC_WB_PROTECTED_BIGNUM 0
|
||||
#define RGENGC_WB_PROTECTED_BIGNUM 1
|
||||
#endif
|
||||
|
||||
struct RBasic {
|
||||
|
|
Загрузка…
Ссылка в новой задаче