Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
now deleting dots which hit rocks.
[vor.git]
/
common.h
diff --git
a/common.h
b/common.h
index
ac9d87e
..
069f677
100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-25,4
+25,7
@@
#define abs(a) ((a)<=0 ? -(a) : (a))
#endif
+#define CONDERROR(a) if((a)) {initerror = strdup(SDL_GetError());return 1;}
+#define NULLERROR(a) CONDERROR((a) == NULL)
+
#endif // VOR_COMMON_H