1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

expose all v8:Context methods.

This commit is contained in:
Charles Lowell 2012-05-08 16:04:47 -05:00
parent 0800d82988
commit b9b15e8838
5 changed files with 122 additions and 5 deletions

View file

@ -59,4 +59,9 @@ namespace rr {
rb_define_const(this->value, name, INT2FIX(value));
return *this;
}
ClassBuilder& ClassBuilder::store(VALUE* storage) {
rb_gc_register_address(storage);
*storage = this->value;
return *this;
}
}