Lines Matching refs:jsThis
139 napi_value jsThis;
140 napi_get_cb_info(env, info, &argc, args, &jsThis, nullptr);
152 … // Use napi_wrap_sendable to wrap obj (the C++ object) in jsThis (the sendable ArkTS object).
153 … napi_wrap_sendable(env, jsThis, reinterpret_cast<void *>(obj), MyObject::Destructor, nullptr);
155 return jsThis;
178 napi_value jsThis;
179 napi_get_cb_info(env, info, nullptr, nullptr, &jsThis, nullptr);
182 …// Use napi_unwrap_sendable to retrieve obj (the C++ object) previously wrapped in jsThis (the sen…
183 napi_unwrap_sendable(env, jsThis, reinterpret_cast<void **>(&obj));
195 napi_value jsThis;
197 napi_get_cb_info(env, info, &argc, &value, &jsThis, nullptr);
200 …// Use napi_unwrap_sendable to retrieve obj (the C++ object) previously wrapped in jsThis (the sen…
201 napi_unwrap_sendable(env, jsThis, reinterpret_cast<void **>(&obj));
210 napi_value jsThis;
211 napi_get_cb_info(env, info, nullptr, nullptr, &jsThis, nullptr);
214 …// Use napi_unwrap_sendable to retrieve obj (the C++ object) previously wrapped in jsThis (the sen…
215 napi_unwrap_sendable(env, jsThis, reinterpret_cast<void **>(&obj));