summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-29 14:56:00 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-29 14:56:00 +0000
commita6b6f9bb5941bb616608729fa9678b08d23e4c56 (patch)
treec2e28888760642ca18bbaad36ae80168dfd74b0a /internal.h
parent24d44aeb023364c0cd9ec8958ea8be6b98fa044f (diff)
merge revision(s) 45576: [Backport #11572]
* string.c (sym_to_proc), proc.c (rb_block_clear_env_self): clear caller's self which is useless, so that it can get collected. [Fixes GH-592] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@52362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index fbd0e28e18..1e439913c7 100644
--- a/internal.h
+++ b/internal.h
@@ -630,6 +630,7 @@ void rb_gc_mark_symbols(int full_mark);
VALUE rb_proc_location(VALUE self);
st_index_t rb_hash_proc(st_index_t hash, VALUE proc);
int rb_block_arity(void);
+VALUE rb_block_clear_env_self(VALUE proc);
/* process.c */
#define RB_MAX_GROUPS (65536)