mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
chekcpoint
This commit is contained in:
parent
f6b68429b1
commit
cfb8b0f78d
2 changed files with 9 additions and 0 deletions
|
@ -118,4 +118,11 @@ VALUE rr_v82rb(const AccessorInfo& info) {
|
|||
|
||||
VALUE rr_v82rb(const Arguments& arguments) {
|
||||
return Data_Wrap_Struct(ArgumentsClass, gc_wrap_mark, gc_wrap_free, new WrapArguments(arguments));
|
||||
VALUE rr_v8_arguments_new(const Arguments& arguments) {
|
||||
return Data_Wrap_Struct(ArgumentsClass, 0, 0, new WrapArguments(arguments));
|
||||
}
|
||||
void rr_v8_arguments_destroy(VALUE args) {
|
||||
WrapArguments* arguments = 0;
|
||||
Data_Get_Struct(args, struct WrapArguments, arguments);
|
||||
delete arguments;
|
||||
}
|
||||
|
|
|
@ -4,5 +4,7 @@
|
|||
void rr_init_v8_callbacks();
|
||||
VALUE rr_v82rb(const v8::AccessorInfo& info);
|
||||
VALUE rr_v82rb(const v8::Arguments& arguments);
|
||||
VALUE rr_v8_arguments_new(const v8::Arguments& arguments);
|
||||
void rr_v8_arguments_destroy(VALUE args);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue