MCPcopy Create free account
hub / github.com/dfranx/SHADERed / reference

Method reference

libs/cppdap/src/typeof.cpp:30–33  ·  view source on GitHub ↗

reference() increments the TypeInfos reference count.

Source from the content-addressed store, hash-verified

28
29 // reference() increments the TypeInfos reference count.
30 inline void reference() {
31 assert(refcount.load() > 0);
32 refcount++;
33 }
34
35 // release() decrements the TypeInfos reference count.
36 // If the reference count becomes 0, then the TypeInfos is destructed.

Callers 1

initializeFunction · 0.80

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected