ruby-changes:43029
From: usa <ko1@a...>
Date: Sat, 21 May 2016 22:47:12 +0900 (JST)
Subject: [ruby-changes:43029] usa:r55103 (trunk): * include/ruby/ruby.h (rb_scan_args): don't use ALWAYS_INLINE with
usa 2016-05-21 22:47:06 +0900 (Sat, 21 May 2016) New Revision: 55103 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55103 Log: * include/ruby/ruby.h (rb_scan_args): don't use ALWAYS_INLINE with `inline`. if gcc needs this duplication, do in ALWAYS_INLINE macro. Modified files: trunk/ChangeLog trunk/include/ruby/ruby.h Index: ChangeLog =================================================================== --- ChangeLog (revision 55102) +++ ChangeLog (revision 55103) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat May 21 22:45:50 2016 NAKAMURA Usaku <usa@r...> + + * include/ruby/ruby.h (rb_scan_args): don't use ALWAYS_INLINE with + `inline`. if gcc needs this duplication, do in ALWAYS_INLINE macro. + Sat May 21 21:11:56 2016 NARUSE, Yui <naruse@r...> * include/ruby/ruby.h (rb_scan_args): use __VA_ARGS__ instead of Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 55102) +++ include/ruby/ruby.h (revision 55103) @@ -2153,7 +2153,7 @@ int ruby_vsnprintf(char *str, size_t n, https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L2153 #define RB_NARG(...) RB_NARG0(__VA_ARGS__,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0) #define rb_scan_args(argc,argvp,fmt,...) \ rb_scan_args0(argc,argv,fmt,RB_NARG(__VA_ARGS__),(VALUE*[]){__VA_ARGS__}) -ALWAYS_INLINE(static inline int +ALWAYS_INLINE(static int rb_scan_args0(int argc, const VALUE *argv, const char *fmt, int varc, VALUE *vars[])); static inline int rb_scan_args0(int argc, const VALUE *argv, const char *fmt, int varc, VALUE *vars[]) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/