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

Method DefaultFini

napi-inl.h:757–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755
756template <typename T>
757void BasicEnv::DefaultFini(Env, T* data) {
758 delete data;
759}
760
761template <typename DataType, typename HintType>
762void BasicEnv::DefaultFiniWithHint(Env, DataType* data, HintType*) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected