MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / locate_object

Method locate_object

source/binding/NodeJS/src/apis/context.cpp:235–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235maajs::ValueType ContextImpl::locate_object(maajs::EnvType env, MaaContext* ctx)
236{
237 return maajs::CallCtorHelper(ExtContext::get(env)->contextCtor, std::to_string(reinterpret_cast<uintptr_t>(ctx)));
238}
239
240ContextImpl* ContextImpl::ctor(const maajs::CallbackInfo& info)
241{

Callers

nothing calls this directly

Calls 1

CallCtorHelperFunction · 0.85

Tested by

no test coverage detected