summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNARUSE, Yui <naruse@airemix.jp>2020-03-13 22:31:29 +0900
committerNARUSE, Yui <naruse@airemix.jp>2020-03-13 22:31:29 +0900
commit7518b4e945675df9aca223c30ca711e1d82341ec (patch)
tree2008c540419a9aa1857e2ef41ff67ecb7dd06a3f
parentfcaa00e58fd3a4cbaa19c6558783b43ee324d19e (diff)
fix the order of definition
-rw-r--r--internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index 98df7a477d..f2e3862198 100644
--- a/internal.h
+++ b/internal.h
@@ -1631,6 +1631,7 @@ NORETURN(void rb_syserr_fail_path_in(const char *func_name, int err, VALUE path)
/* gc.c */
extern VALUE *ruby_initial_gc_stress_ptr;
extern int ruby_disable_gc;
+struct rb_objspace; /* in vm_core.h */
void Init_heap(void);
void *ruby_mimmalloc(size_t size) RUBY_ATTR_MALLOC;
void ruby_mimfree(void *ptr);
@@ -2341,7 +2342,6 @@ enum method_missing_reason {
struct rb_callable_method_entry_struct;
struct rb_method_definition_struct;
struct rb_execution_context_struct;
-struct rb_objspace; /* in vm_core.h */
struct rb_control_frame_struct;
struct rb_calling_info;
struct rb_call_data;