MCPcopy Create free account
hub / github.com/Tencent/MMKV / napi_value Init

Function napi_value Init

OpenHarmony/entry/src/main/cpp/napi_init.cpp:209–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207
208
209EXTERN_C_START
210static napi_value Init(napi_env env, napi_value exports)
211{
212 napi_property_descriptor desc[] = {
213 { "TestNativeMMKV", nullptr, TestNativeMMKV, nullptr, nullptr, nullptr, napi_default, nullptr }
214 };
215 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc);
216 return exports;
217}
218EXTERN_C_END
219
220static napi_module demoModule = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected