]> git.saurik.com Git - cydia.git/blobdiff - UICaboodle/UICaboodle.h
Moved /notice/ to somewhere with more bandwidth, fixed a typo in Information, updated...
[cydia.git] / UICaboodle / UICaboodle.h
index 1cf37d13f50219d1c322dd8a599ae2dbf41087f4..2f636bd41a23d00a58ff2c43468e80f03f2ddeaa 100644 (file)
@@ -3,6 +3,9 @@
 #include <sys/time.h>
 #include <time.h>
 
+#define _forever \
+    for (;;)
+
 #define _trace() do { \
     struct timeval _tv; \
     gettimeofday(&_tv, NULL); \
@@ -19,3 +22,10 @@ while (false)
 #define _not(type) ((type) ~ (type) 0)
 
 #define _transient
+
+#define _label__(x) _label ## x
+#define _label_(y) _label__(y)
+#define _label _label_(__LINE__)
+
+#define _packed \
+    __attribute__((packed))