aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.h
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-03-16 21:48:15 +0100
committerMax <post@wickenrode.com>2015-03-16 21:48:15 +0100
commit0dc8d023f39c1bd03f51e62d90b6be7693955e53 (patch)
tree1c4255031077e501ecb46a019820ac125010a5db /Source/SPConstants.h
parentf86e21e8296a5c368fb547b93ff0390dec0f5785 (diff)
downloadsequelpro-0dc8d023f39c1bd03f51e62d90b6be7693955e53.tar.gz
sequelpro-0dc8d023f39c1bd03f51e62d90b6be7693955e53.tar.bz2
sequelpro-0dc8d023f39c1bd03f51e62d90b6be7693955e53.zip
Updated OCMock framework and added a unit test
Diffstat (limited to 'Source/SPConstants.h')
-rw-r--r--Source/SPConstants.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPConstants.h b/Source/SPConstants.h
index a2df5bde..728d213a 100644
--- a/Source/SPConstants.h
+++ b/Source/SPConstants.h
@@ -642,3 +642,6 @@ void _SPClear(id *addr);
#if __MAC_OS_X_VERSION_MAX_ALLOWED < __MAC_10_10
typedef NSUInteger NSCellHitResult;
#endif
+
+// Stolen from Stack Overflow: http://stackoverflow.com/questions/969130
+#define SPLog(fmt, ...) NSLog((@"%s:%d: " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__)