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

Method gc_mark

source/binding/NodeJS/src/apis/resource.cpp:377–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377void ResourceImpl::gc_mark(maajs::NativeMarkerFunc marker)
378{
379 for (const auto& [_, ctx] : sinks) {
380 marker(ctx->fn);
381 }
382}
383
384ResourceImpl* ResourceImpl::ctor(const maajs::CallbackInfo& info)
385{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected