#include "rr.h" #include "v8_ref.h" #include "v8_func.h" #include "v8_template.h" #include "v8_external.h" #include "v8_callbacks.h" using namespace v8; namespace { VALUE ObjectTemplateClass; VALUE FunctionTemplateClass; VALUE rb_hash_lookup(VALUE hash, const char *key) { return rb_funcall(hash, rb_intern("[]"), 1, rb_str_new2(key)); } VALUE rb_hash_aset(VALUE hash, const char *key, VALUE value) { return ::rb_hash_aset(hash, rb_str_new2(key), value); } Local