mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-11-30 13:40:51 +00:00
Fix passing argument bug for NewJsIntlNativePointer function
Signed-off-by: panzhenyu1 <panzhenyu1@huawei.com>
This commit is contained in:
parent
59bd356d33
commit
a6d993bf0c
@ -78,7 +78,7 @@ void ObjectFactory::NewJSIntlIcuData(const JSHandle<T> &obj, const S &icu, const
|
||||
native->ResetExternalPointer(icuPoint);
|
||||
return;
|
||||
}
|
||||
JSHandle<JSNativePointer> pointer(thread_, NewJSNativePointer(icuPoint, callback, vm_).GetTaggedValue());
|
||||
JSHandle<JSNativePointer> pointer(thread_, NewJSNativePointer(icuPoint, callback, nullptr).GetTaggedValue());
|
||||
obj->SetIcuField(thread_, pointer.GetTaggedValue());
|
||||
// push uint8_t* to ecma array_data_list
|
||||
vm_->PushToArrayDataList(*pointer);
|
||||
|
Loading…
Reference in New Issue
Block a user