Permalink
Browse files

Make few symbols in gc patch public for ruby-prof compatibility

  • Loading branch information...
1 parent 51dc886 commit 55b29281fe546fa956ecd0f04fa98b0d1225eb66 @Vasfed committed Apr 19, 2012
@@ -366,6 +366,7 @@ index e65d0ec..74ebec6 100644
+ *
+ */
+
++RUBY_FUNC_EXPORTED
+VALUE
+rb_gc_allocated_size()
+{
@@ -692,6 +693,7 @@ index e65d0ec..74ebec6 100644
+ *
+ */
+
++RUBY_FUNC_EXPORTED
+VALUE
+rb_gc_collections()
+{
@@ -710,6 +712,7 @@ index e65d0ec..74ebec6 100644
+ *
+ */
+
++RUBY_FUNC_EXPORTED
+VALUE
+rb_gc_time()
+{
@@ -1167,6 +1170,7 @@ index e65d0ec..74ebec6 100644
+ return ULONG2NUM(live_objects);
+}
+
++RUBY_FUNC_EXPORTED
+unsigned long rb_os_live_objects()
+{
+ rb_objspace_t *objspace = &rb_objspace;
@@ -1191,6 +1195,7 @@ index e65d0ec..74ebec6 100644
+#endif
+}
+
++RUBY_FUNC_EXPORTED
+unsigned LONG_LONG rb_os_allocated_objects()
+{
+ rb_objspace_t *objspace = &rb_objspace;
@@ -366,6 +366,7 @@ index e65d0ec..74ebec6 100644
+ *
+ */
+
++RUBY_FUNC_EXPORTED
+VALUE
+rb_gc_allocated_size()
+{
@@ -692,6 +693,7 @@ index e65d0ec..74ebec6 100644
+ *
+ */
+
++RUBY_FUNC_EXPORTED
+VALUE
+rb_gc_collections()
+{
@@ -710,6 +712,7 @@ index e65d0ec..74ebec6 100644
+ *
+ */
+
++RUBY_FUNC_EXPORTED
+VALUE
+rb_gc_time()
+{
@@ -1167,6 +1170,7 @@ index e65d0ec..74ebec6 100644
+ return ULONG2NUM(live_objects);
+}
+
++RUBY_FUNC_EXPORTED
+unsigned long rb_os_live_objects()
+{
+ rb_objspace_t *objspace = &rb_objspace;
@@ -1191,6 +1195,7 @@ index e65d0ec..74ebec6 100644
+#endif
+}
+
++RUBY_FUNC_EXPORTED
+unsigned LONG_LONG rb_os_allocated_objects()
+{
+ rb_objspace_t *objspace = &rb_objspace;

0 comments on commit 55b2928

Please sign in to comment.