7#ifndef _KIS_MEMORY_LEAK_TRACKER_H_
8#define _KIS_MEMORY_LEAK_TRACKER_H_
12#include <kritaglobal_export.h>
14#include <config-memory-leak-tracker.h>
18#undef HAVE_MEMORY_LEAK_TRACKER
23#undef HAVE_MEMORY_LEAK_TRACKER
40 void reference(
const void* what,
const void* bywho,
const char* whatName = 0);
41 void dereference(
const void* what,
const void* bywho);
42 void dumpReferences();
43 void dumpReferences(
const void* what);
45 template<
typename _T_>
46 void reference(
const _T_* what,
const void* bywho);
47 template<
typename _T_>
48 void dereference(
const _T_* what,
const void* bywho);
59 reference((
void*)what, bywho,
typeid(what).name());
PythonPluginManager * instance
void dereference(const void *what, const void *bywho)
void reference(const void *what, const void *bywho, const char *whatName=0)