зеркало из https://github.com/github/ruby.git
* complex.c (imp1, imp2): should declare type.
[BUG] at IA-64 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
1b95e95ff2
Коммит
2100e3b631
|
@ -1,3 +1,8 @@
|
|||
Wed Oct 29 15:50:00 2008 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
|
||||
|
||||
* complex.c (imp1, imp2): should declare type.
|
||||
[BUG] at IA-64
|
||||
|
||||
Wed Oct 29 14:36:50 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* common.mk (revision.h): have to be updated daily or by non-trivial
|
||||
|
|
|
@ -429,7 +429,7 @@ nucomp_f_complex(int argc, VALUE *argv, VALUE klass)
|
|||
#define imp1(n) \
|
||||
extern VALUE rb_math_##n(VALUE x);\
|
||||
inline static VALUE \
|
||||
m_##n##_bang(x)\
|
||||
m_##n##_bang(VALUE x)\
|
||||
{\
|
||||
return rb_math_##n(x);\
|
||||
}
|
||||
|
@ -437,7 +437,7 @@ m_##n##_bang(x)\
|
|||
#define imp2(n) \
|
||||
extern VALUE rb_math_##n(VALUE x, VALUE y);\
|
||||
inline static VALUE \
|
||||
m_##n##_bang(x, y)\
|
||||
m_##n##_bang(VALUE x, VALUE y)\
|
||||
{\
|
||||
return rb_math_##n(x, y);\
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче