Home
last modified time | relevance | path

Searched refs:intRef (Results 1 - 1 of 1) sorted by relevance

/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_callback.cpp156 std::shared_ptr<AutoRef> intRef = callback.lock(); variable
157 CHECK_AND_RETURN_LOG(intRef != nullptr,
161 napi_open_handle_scope(intRef->env_, &scope);
165 napi_close_handle_scope(intRef->env_, scope);
169 napi_status status = napi_get_reference_value(intRef->env_, intRef->cb_, &jsCallback);
174 (void)napi_create_int32(intRef->env_, value, &args[0]);
177 status = napi_call_function(intRef->env_, nullptr, jsCallback, 1, args, &result);

Completed in 4 milliseconds