0
@@ -196,7 +196,7 @@ static JSBool get(JSContext* js_context, JSObject* obj, jsval id, jsval* retval)
0
Data_Get_Struct(ruby_context, OurContext, context);
0
- PREPARE_JROOTS(context, 1
, 0);
0
+ PREPARE_JROOTS(context, 1
);
0
// get the Ruby object that backs this proxy
0
@@ -284,7 +284,7 @@ static JSBool get(JSContext* js_context, JSObject* obj, jsval id, jsval* retval)
0
static JSBool get_and_destroy_resolved_property(
0
JSContext* js_context, JSObject* obj, jsval id, jsval* retval)
0
- PREPARE_JROOTS(OUR_CONTEXT(js_context), 1
, 0);
0
+ PREPARE_JROOTS(OUR_CONTEXT(js_context), 1
);
0
char* name = JS_GetStringBytes(JSVAL_TO_STRING(id));
0
JCHECK(JS_DeleteProperty(js_context, obj, name));
0
@@ -299,7 +299,7 @@ static JSBool set(JSContext* js_context, JSObject* obj, jsval id, jsval* value)
0
Data_Get_Struct(ruby_context, OurContext, context);
0
- PREPARE_JROOTS(context, 2
, 0);
0
+ PREPARE_JROOTS(context, 2
);
0
@@ -365,7 +365,7 @@ static JSBool construct(JSContext* js_context, JSObject* UNUSED(obj), uintN argc
0
Data_Get_Struct(ruby_context, OurContext, context);
0
- PREPARE_JROOTS(context, 0
, 0);
0
+ PREPARE_JROOTS(context, 0
);
0
VALUE klass = CONVERT_TO_RUBY(context, JS_ARGV_CALLEE(argv));
0
VALUE args = rb_ary_new();
0
@@ -386,7 +386,7 @@ static JSBool resolve(JSContext *js_context, JSObject *obj, jsval id, uintN UNUS
0
Data_Get_Struct(ruby_context, OurContext, context);
0
- PREPARE_JROOTS(context, 1
, 0);
0
+ PREPARE_JROOTS(context, 1
);
0
char* name = JS_GetStringBytes(JS_ValueToString(js_context, id));
0
@@ -409,7 +409,7 @@ static JSBool to_string(JSContext* js_context, JSObject* obj, uintN UNUSED(argc)
0
Data_Get_Struct(ruby_context, OurContext, context);
0
- PREPARE_JROOTS(context, 0
, 0);
0
+ PREPARE_JROOTS(context, 0
);
0
VALUE self = (VALUE)JS_GetInstancePrivate(context->js, obj, JS_GET_CLASS(context->js, obj), NULL);
0
@@ -424,7 +424,7 @@ static JSBool to_array(JSContext* js_context, JSObject* obj, uintN UNUSED(argc),
0
Data_Get_Struct(ruby_context, OurContext, context);
0
- PREPARE_JROOTS(context, 0
, 0);
0
+ PREPARE_JROOTS(context, 0
);
0
VALUE self = (VALUE)JS_GetInstancePrivate(context->js, obj, JS_GET_CLASS(context->js, obj), NULL);
0
@@ -439,7 +439,7 @@ static JSBool method_missing(JSContext* js_context, JSObject* obj, uintN argc, j
0
Data_Get_Struct(ruby_context, OurContext, context);
0
- PREPARE_JROOTS(context, 0
, 0);
0
+ PREPARE_JROOTS(context, 0
);
0
VALUE self = (VALUE)JS_GetInstancePrivate(context->js, obj, JS_GET_CLASS(context->js, obj), NULL);
0
@@ -465,7 +465,7 @@ static JSBool call(JSContext* js_context, JSObject* UNUSED(obj), uintN argc, jsv
0
Data_Get_Struct(ruby_context, OurContext, context);
0
- PREPARE_JROOTS(context, 0
, 0);
0
+ PREPARE_JROOTS(context, 0
);
0
VALUE self = (VALUE)JS_GetInstancePrivate(context->js, JSVAL_TO_OBJECT(JS_ARGV_CALLEE(argv)), &JSLandCallableProxyClass, NULL);
0
@@ -530,7 +530,7 @@ JSBool make_js_land_proxy(OurContext* context, VALUE value, jsval* retval)
0
- PREPARE_JROOTS(context, 1
, 0);
0
+ PREPARE_JROOTS(context, 1
);
Comments
No one has commented yet.