D | uitest_napi.cpp | 480 napi_value prop = nullptr; in ExportClass() local 481 … NAPI_CALL_BASE(env, napi_create_string_utf8(env, seedRef, NAPI_AUTO_LENGTH, &prop), NAPI_ERR); in ExportClass() 482 … NAPI_CALL_BASE(env, napi_set_named_property(env, seed, PROP_BACKEND_OBJ_REF, prop), NAPI_ERR); in ExportClass() 496 napi_value prop = nullptr; in ExportEnumerator() local 497 …_BASE(env, napi_create_string_utf8(env, def.valueJson_.data(), NAPI_AUTO_LENGTH, &prop), NAPI_ERR); in ExportEnumerator() 498 NAPI_CALL_BASE(env, ValueStringConvert(env, prop, &prop, false), NAPI_ERR); in ExportEnumerator() 499 … NAPI_CALL_BASE(env, napi_set_named_property(env, enumerator, def.name_.data(), prop), NAPI_ERR); in ExportEnumerator()
|