mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
remove call to rb_hash_lookup() which is not present in 1.8.6
This commit is contained in:
parent
00dad84dcf
commit
ef48cea359
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ using namespace v8;
|
|||
namespace {
|
||||
|
||||
VALUE rb_hash_lookup(VALUE hash, const char *key) {
|
||||
return ::rb_hash_lookup(hash, rb_str_new2(key));
|
||||
return rb_funcall(hash, rb_intern("[]"), 1, rb_str_new2(key));
|
||||
}
|
||||
|
||||
VALUE rb_hash_aset(VALUE hash, const char *key, VALUE value) {
|
||||
|
|
Loading…
Add table
Reference in a new issue