Lines Matching refs:object

77  *        detach the js object and the native object.
84 * bind the js object and the native object.
95 * @brief The module is loaded through the NAPI. By default, the default object is exported from the module.
100 * @param result Result of loading a module, which is an exported object of the module.
146 * @brief This API sets native properties to a object and converts this js object to native binding object.
150 * @param[in] detach_cb Native callback that can be used to detach the js object and the native object.
151 * @param[in] attach_cb Native callback that can be used to bind the js object and the native object.
222 * @brief Defines a sendable object.
225 * @param property_count The count of object properties.
234 * @brief Wraps a native instance in a ArkTS object.
237 * @param js_object The ArkTS object that will be the wrapper for the native object.
238 * @param native_object The native instance that will be wrapped in the ArkTS object.
239 * @param finalize_lib Optional native callback that can be used to free the native instance when the ArkTS object
248 * @brief Wraps a native instance in a ArkTS object.
251 * @param js_object The ArkTS object that will be the wrapper for the native object.
252 * @param native_object The native instance that will be wrapped in the ArkTS object.
253 * @param finalize_lib Optional native callback that can be used to free the native instance when the ArkTS object
264 * @brief Retrieves a native instance that was previously wrapped in a ArkTS object.
267 * @param js_object The object associated with the native instance.
274 * @brief Retrieves a native instance that was previously wrapped in a ArkTS object and removes the wrapping.
277 * @param js_object The object associated with the native instance.
361 * @brief Serialize a JS object.
364 * @param object The JavaScript value to serialize.
367 * @param result Serialization result of the JS object.
372 napi_value object,
378 * @brief Restore serialization data to a ArkTS object.
382 * @param object ArkTS object obtained by deserialization.
386 NAPI_EXTERN napi_status napi_deserialize(napi_env env, void* buffer, napi_value* object);