X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/62fc71463d6f0aacc01348848af1265752a876c4..ae22446dad54f9c244d804e40febdb828caae0b0:/UICaboodle/UCPlatform.h diff --git a/UICaboodle/UCPlatform.h b/UICaboodle/UCPlatform.h index 0940406c..4f2169e4 100644 --- a/UICaboodle/UCPlatform.h +++ b/UICaboodle/UCPlatform.h @@ -43,7 +43,14 @@ while (false) #define _label _label_(__LINE__) #define _packed \ - __attribute__((packed)) + __attribute__((__packed__)) +#define _finline \ + inline __attribute__((__always_inline__)) -//#define _finline __attribute__((force_inline)) -#define _finline inline +#define _assume(e) \ + _assert(e) + +#define _nodefault \ + default: \ + _assume(false); \ + throw;