Files
juicysfplugin/Source/Util.h
T

19 lines
334 B
C++
Raw Normal View History

2019-07-01 21:15:33 +01:00
#pragma once
#include "../JuceLibraryCode/JuceHeader.h"
#ifndef DEBUG_PRINT
#if JUCE_DEBUG
#define DEBUG_PRINT(str) Logger::outputDebugString(str)
#else
#define DEBUG_PRINT(str)
#endif
#endif
namespace Util {
inline int compare(int a, int b) {
if (a > b) return 1;
if (a == b) return 0;
return -1;
}
}