aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/internal.h b/internal.h
index f4e8bb3c08..e7ecbbeda4 100644
--- a/internal.h
+++ b/internal.h
@@ -429,8 +429,6 @@ void Init_heap(void);
void *ruby_mimmalloc(size_t size);
void rb_objspace_set_event_hook(const rb_event_flag_t event);
void rb_gc_writebarrier_remember_promoted(VALUE obj);
-size_t rb_gc_count(void);
-size_t rb_obj_memsize_of(VALUE);
void *ruby_sized_xrealloc(void *ptr, size_t new_size, size_t old_size) RUBY_ATTR_ALLOC_SIZE((2));
void ruby_sized_xfree(void *x, size_t size);
@@ -819,6 +817,10 @@ void rb_mark_generic_ivar_tbl(void);
int rb_st_insert_id_and_value(VALUE obj, st_table *tbl, ID key, VALUE value);
st_table *rb_st_copy(VALUE obj, struct st_table *orig_tbl);
+/* gc.c */
+size_t rb_gc_count(void);
+size_t rb_obj_memsize_of(VALUE);
+
RUBY_SYMBOL_EXPORT_END
#if defined(__cplusplus)