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

Method addRef

test/embind/embind_test.cpp:3186–3190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3184
3185private:
3186 void addRef(T* px) {
3187 if (px) {
3188 ++px->referenceCount;
3189 }
3190 }
3191
3192 void release(T* px) {
3193 if (px && --px->referenceCount == 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected