]> git.saurik.com Git - cydia.git/blob - UICaboodle/UICaboodle.h
Renamed News to Home and started pre-caching tabs for perceived performance.
[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