MCPcopy Create free account
hub / github.com/RenderKit/oidn / decRef

Function decRef

core/ref.h:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 }
19
20 oidn_inline size_t decRef()
21 {
22 const size_t newCount = decRefKeep();
23 if (newCount == 0)
24 destroy();
25 return newCount;
26 }
27
28 oidn_inline size_t decRefKeep() noexcept
29 {

Callers

nothing calls this directly

Calls 2

decRefKeepFunction · 0.85
destroyFunction · 0.85

Tested by

no test coverage detected