Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Stefan Kaes
committed
Sep 18, 2012
1 parent
e4abbcd
commit 2969a4c
Showing
2 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
84 changes: 84 additions & 0 deletions
84
patches/ruby/1.9.3/p194/railsexpress/08-export-a-few-more-symbols-for-ruby-prof.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
diff --git a/gc.c b/gc.c | ||
index 18ffbde..cc14159 100644 | ||
--- a/gc.c | ||
+++ b/gc.c | ||
@@ -1035,6 +1035,7 @@ ruby_xfree(void *x) | ||
* | ||
*/ | ||
|
||
+RUBY_FUNC_EXPORTED | ||
VALUE | ||
rb_gc_enable(void) | ||
{ | ||
@@ -1057,6 +1058,7 @@ rb_gc_enable(void) | ||
* | ||
*/ | ||
|
||
+RUBY_FUNC_EXPORTED | ||
VALUE | ||
rb_gc_disable(void) | ||
{ | ||
@@ -1079,6 +1081,7 @@ rb_gc_disable(void) | ||
* | ||
*/ | ||
|
||
+RUBY_FUNC_EXPORTED | ||
VALUE | ||
rb_gc_enable_stats() | ||
{ | ||
@@ -1100,6 +1103,7 @@ rb_gc_enable_stats() | ||
* | ||
*/ | ||
|
||
+RUBY_FUNC_EXPORTED | ||
VALUE | ||
rb_gc_disable_stats() | ||
{ | ||
@@ -1119,6 +1123,7 @@ rb_gc_disable_stats() | ||
* | ||
*/ | ||
|
||
+RUBY_FUNC_EXPORTED | ||
VALUE | ||
rb_gc_stats_enabled() | ||
{ | ||
@@ -1138,6 +1143,7 @@ rb_gc_stats_enabled() | ||
* | ||
*/ | ||
|
||
+RUBY_FUNC_EXPORTED | ||
VALUE | ||
rb_gc_clear_stats() | ||
{ | ||
@@ -1208,6 +1214,7 @@ rb_gc_num_allocations() | ||
* | ||
*/ | ||
|
||
+RUBY_FUNC_EXPORTED | ||
VALUE | ||
rb_gc_enable_trace() | ||
{ | ||
@@ -1229,6 +1236,7 @@ rb_gc_enable_trace() | ||
* | ||
*/ | ||
|
||
+RUBY_FUNC_EXPORTED | ||
VALUE | ||
rb_gc_disable_trace() | ||
{ | ||
@@ -1248,6 +1256,7 @@ rb_gc_disable_trace() | ||
* | ||
*/ | ||
|
||
+RUBY_FUNC_EXPORTED | ||
VALUE | ||
rb_gc_trace_enabled() | ||
{ | ||
@@ -1276,6 +1285,7 @@ const char* GC_LOGFILE_IVAR = "@gc_logfile_name"; | ||
* | ||
*/ | ||
|
||
+RUBY_FUNC_EXPORTED | ||
VALUE | ||
rb_gc_log_file(int argc, VALUE *argv, VALUE self) | ||
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters