ruby-changes:55280
From: tenderlove <ko1@a...>
Date: Wed, 10 Apr 2019 08:23:44 +0900 (JST)
Subject: [ruby-changes:55280] tenderlove:r67487 (trunk): fix RMoved definition location
tenderlove 2019-04-10 08:23:39 +0900 (Wed, 10 Apr 2019) New Revision: 67487 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67487 Log: fix RMoved definition location Modified files: trunk/include/ruby/ruby.h trunk/internal.h Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 67486) +++ include/ruby/ruby.h (revision 67487) @@ -883,11 +883,6 @@ enum ruby_fl_type { https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L883 RUBY_FL_SINGLETON = RUBY_FL_USER0 }; -struct RMoved { - VALUE flags; - VALUE destination; -}; - struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic { VALUE flags; VALUE klass; Index: internal.h =================================================================== --- internal.h (revision 67486) +++ internal.h (revision 67487) @@ -830,6 +830,11 @@ struct RHash { https://github.com/ruby/ruby/blob/trunk/internal.h#L830 # define RHASH_SIZE(h) (RHASH_AR_TABLE_P(h) ? RHASH_AR_TABLE_SIZE_RAW(h) : RHASH_ST_SIZE(h)) #endif /* #ifdef RHASH_ITER_LEV */ +struct RMoved { + VALUE flags; + VALUE destination; +}; + /* missing/setproctitle.c */ #ifndef HAVE_SETPROCTITLE extern void ruby_init_setproctitle(int argc, char *argv[]); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/