From 73f891f1a5dafb1709b333d953ad8b50af7ee1f9 Mon Sep 17 00:00:00 2001 From: tenderlove Date: Tue, 9 Apr 2019 23:23:39 +0000 Subject: [PATCH] fix RMoved definition location git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/ruby.h | 5 ----- internal.h | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index b22c4e3f2e..b5757a79ad 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -883,11 +883,6 @@ enum ruby_fl_type { RUBY_FL_SINGLETON = RUBY_FL_USER0 }; -struct RMoved { - VALUE flags; - VALUE destination; -}; - struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic { VALUE flags; VALUE klass; diff --git a/internal.h b/internal.h index cf630d9e56..46a25ff77f 100644 --- a/internal.h +++ b/internal.h @@ -830,6 +830,11 @@ struct RHash { # 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[]);