From f12c14d3ef2474631c78d28b45d15db1d2cc668c Mon Sep 17 00:00:00 2001 From: marcandre Date: Tue, 21 Feb 2012 00:13:44 +0000 Subject: * proc.c (method_hash, proc_hash): Fix {Unbound}Method#hash [Bug #6048]. Isolate hash computation for proc * internal.h: Declaration for above * vm_method.c (rb_method_definition_hash): Computation for hash part of a method definition * method.h: Declaration for above * test/ruby/test_method.rb: Test for above git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- method.h | 1 + 1 file changed, 1 insertion(+) (limited to 'method.h') diff --git a/method.h b/method.h index da667505f4..84b2dca3fb 100644 --- a/method.h +++ b/method.h @@ -96,6 +96,7 @@ rb_method_entry_t *rb_method_entry_set(VALUE klass, ID mid, const rb_method_entr int rb_method_entry_arity(const rb_method_entry_t *me); int rb_method_entry_eq(const rb_method_entry_t *m1, const rb_method_entry_t *m2); +st_index_t rb_hash_method_entry(st_index_t hash, const rb_method_entry_t *me); void rb_mark_method_entry(const rb_method_entry_t *me); void rb_free_method_entry(rb_method_entry_t *me); -- cgit v1.2.3