func (o *Object) HasRealNamedProperty(key string) bool { keyPtr := unsafe.Pointer((*reflect.StringHeader)(unsafe.Pointer(&key)).Data) return C.V8_Object_HasRealNamedProperty(o.self, (*C.char)(keyPtr)) == 1 }
func (object_ *Object) HasRealNamedProperty(key string) bool { //keyPtr := unsafe.Pointer((*reflect.StringHeader)(unsafe.Pointer(&key)).Data) keyPtr := StringToPointer(key) return C.V8_Object_HasRealNamedProperty(object_.self, (*C.char)(keyPtr), C.int(len(key))) == 1 }