diff --git a/ext/v8/v8_value.cpp b/ext/v8/v8_value.cpp index e542f1f..d0963d3 100644 --- a/ext/v8/v8_value.cpp +++ b/ext/v8/v8_value.cpp @@ -8,88 +8,115 @@ namespace { return V8_Ref_Get(value); } VALUE IsUndefined(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsUndefined()); } VALUE IsNull(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsNull()); } VALUE IsTrue(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsTrue()); } VALUE IsFalse(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsFalse()); } VALUE IsString(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsString()); } VALUE IsFunction(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsFunction()); } VALUE IsArray(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsArray()); } VALUE IsObject(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsObject()); } VALUE IsBoolean(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsBoolean()); } VALUE IsNumber(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsNumber()); } VALUE IsExternal(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsExternal()); } VALUE IsInt32(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsInt32()); } VALUE IsUint32(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsUint32()); } VALUE IsDate(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->IsDate()); } VALUE ToBoolean(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->ToBoolean()); } VALUE ToNumber(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->ToNumber()); } VALUE ToString(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->ToString()); } VALUE ToDetailString(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->ToDetailString()); } VALUE ToObject(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->ToObject()); } VALUE ToInteger(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->ToInteger()); } VALUE ToUint32(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->ToUint32()); } VALUE ToInt32(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->ToInt32()); } VALUE ToArrayIndex(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->ToArrayIndex()); } VALUE Equals(VALUE self, VALUE that) { + HandleScope scope; return rr_v82rb(unwrap(self)->Equals(unwrap(that))); } VALUE StrictEquals(VALUE self, VALUE that) { + HandleScope scope; return rr_v82rb(unwrap(self)->StrictEquals(unwrap(that))); } VALUE BooleanValue(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->BooleanValue()); } VALUE NumberValue(VALUE self) { + HandleScope scope; return rr_v82rb(unwrap(self)->NumberValue()); } }