]> git.saurik.com Git - cydia.git/blob - UICaboodle/UICaboodle.h
afdf71bdd6b6989765d5eeb94520c4640b4e3796
[cydia.git] / UICaboodle / UICaboodle.h
1 #include <objc/objc.h>
2
3 #define _trace() fprintf(stderr, "_trace()@%s:%u[%s]\n", __FILE__, __LINE__, __FUNCTION__)
4
5 #define _assert(test) do \
6 if (!(test)) { \
7 fprintf(stderr, "_assert(%d:%s)@%s:%u[%s]\n", errno, #test, __FILE__, __LINE__, __FUNCTION__); \
8 exit(-1); \
9 } \
10 while (false)
11
12 #define _not(type) ((type) ~ (type) 0)
13
14 #define _transient