MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / SimpleTestContext

Class SimpleTestContext

test/threadsafe_function/threadsafe_function_ctx.cc:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 });
60}
61struct SimpleTestContext {
62 SimpleTestContext(int val) : _val(val) {}
63 int _val = -1;
64};
65
66void AssertGetContextFromVariousTSOverloads(const CallbackInfo& info) {
67 Env env = info.Env();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected