23#if JUCE_ENABLE_ALLOCATION_HOOKS
33 virtual ~Listener()
noexcept = default;
34 virtual
void newOrDeleteCalled()
noexcept = 0;
37 void addListener (Listener*
l) { listenerList.add (
l); }
38 void removeListener (Listener*
l)
noexcept { listenerList.remove (
l); }
41 friend void notifyAllocationHooksForThread();
42 ListenerList<Listener> listenerList;
49class UnitTestAllocationChecker :
private AllocationHooks::Listener
57 explicit UnitTestAllocationChecker (UnitTest&
test);
#define noexcept
Definition DistrhoDefines.h:72
#define override
Definition DistrhoDefines.h:73
int * l
Definition inflate.c:1579
Definition carla_juce.cpp:31
static int test(SerdEnv *env, bool top_level, bool pretty_numbers)
Definition sratom_test.c:79