blob: a9f98eab219209597d925487d85c6a23ba48fe00 [file]
#ifdef TESTING
#include "rive/simple_array.hpp"
namespace rive
{
namespace SimpleArrayTesting
{
std::atomic<int> mallocCount{0};
std::atomic<int> reallocCount{0};
std::atomic<int> freeCount{0};
void resetCounters()
{
mallocCount = 0;
reallocCount = 0;
freeCount = 0;
}
} // namespace SimpleArrayTesting
} // namespace rive
#endif