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

Method DeleteAddon

test/addon_data.cc:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 static void DeleteAddon(Napi::Env, Addon* addon, uint32_t* hint) {
61 delete addon;
62 fprintf(stderr, "hint: %u\n", *hint);
63 delete hint;
64 }
65
66 static Napi::Object Init(Napi::Env env, Napi::Value jshint) {
67 if (!jshint.IsNumber()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected