MCPcopy Create free account
hub / github.com/baldurk/renderdoc / Dec

Method Dec

qrenderdoc/Code/pyrenderdoc/structured_conversion.h:79–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78 static void DelPyObject(PyObject *py, refcountedType *c) { obj2py<refcountedType>().erase(c); }
79 static void Dec(const refcountedType *c)
80 {
81 auto it = obj2py<refcountedType>().find(c);
82 if(it != obj2py<refcountedType>().end())
83 Py_DecRef(it->second);
84 }
85 static void Inc(const refcountedType *c)
86 {
87 auto it = obj2py<refcountedType>().find(c);

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected