131
107
void CSRefObject::retain()
135
110
CSException::throwAssertion(CS_CONTEXT, "Freed object being retained.");
139
cs_mm_track_memory(func, file, line, this, true, iRefCount, iTrackMe);
114
cs_mm_track_memory(NULL, NULL, 0, this, true, iRefCount, iTrackMe);
123
cs_mm_track_memory(NULL, NULL, 0, this, false, iRefCount, iTrackMe);
140
cs_mm_print_track(func, file, line, this, true, iRefCount);
144
143
void CSRefObject::release(const char *func, const char *file, uint32_t line)
152
147
cs_mm_track_memory(func, file, line, this, false, iRefCount, iTrackMe);