Permalink
Browse files

better name scope for terminate function

  • Loading branch information...
1 parent bbe1c72 commit 2716df05688ff13e2cde4b2ff0311c3d858e063e @rsebbe rsebbe committed Oct 16, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 Sources/GLDebug.h
  2. +1 −1 Sources/GLDebug.m
View
@@ -12,7 +12,7 @@
extern "C" {
#endif
-extern void ex_debug_terminate(void);
+extern void ceedgl_debug_terminate(void);
#ifdef __cplusplus
}
@@ -26,7 +26,7 @@ if(!(condition)) \
NSString *s = [NSString stringWithFormat:@"File: %s, Line: %d \nCondition: (%s)\n\n",\
__FILE__, __LINE__, #condition];\
NSLog(@"Debugging... %@",s);\
-ex_debug_terminate();\
+ceedgl_debug_terminate();\
exit(1); \
}\
}
View
@@ -8,7 +8,7 @@
#import "GLDebug.h"
-void ex_debug_terminate(void)
+void ceedgl_debug_terminate(void)
{
printf("assert\n");
}

0 comments on commit 2716df0

Please sign in to comment.