MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / reset

Method reset

test/embind/embind_test.cpp:3159–3163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3157 }
3158
3159 void reset(T* nx = nullptr) {
3160 addRef(nx);
3161 release(px);
3162 px = nx;
3163 }
3164
3165 T* get() const {
3166 return px;

Callers 3

DerivedHolderMethod · 0.45
deleteDerivedMethod · 0.45
releasePtrMethod · 0.45

Calls 1

releaseFunction · 0.50

Tested by

no test coverage detected