MCPcopy Create free account
hub / github.com/nodejs/nan / invokeparameter

Method invokeparameter

nan_weak.h:116–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114template<typename T>
115template<bool isFirstPass>
116void
117WeakCallbackInfo<T>::invokeparameter(NAN_WEAK_PARAMETER_CALLBACK_SIG_ data) {
118 WeakCallbackInfo<T> *cbinfo = unwrapparameter(data);
119 if (isFirstPass) {
120 cbinfo->persistent_.Reset();
121 data.SetSecondPassCallback(invokeparameter<false>);
122 } else {
123 cbinfo->callback_(*cbinfo);
124 delete cbinfo;
125 }
126}
127
128template<typename T>
129template<bool isFirstPass>

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.45

Tested by

no test coverage detected