X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/017b2b71becf7aa4d409e0ce9dbf3dd8e5472255..172b238d6f66f6b1a0298ef9ebbcfbe9477a2221:/UICaboodle/UCPlatform.h?ds=sidebyside diff --git a/UICaboodle/UCPlatform.h b/UICaboodle/UCPlatform.h index 9e957034..4f2169e4 100644 --- a/UICaboodle/UCPlatform.h +++ b/UICaboodle/UCPlatform.h @@ -43,6 +43,14 @@ while (false) #define _label _label_(__LINE__) #define _packed \ - __attribute__((packed)) + __attribute__((__packed__)) +#define _finline \ + inline __attribute__((__always_inline__)) -#define _finline inline __attribute__((always_inline)) +#define _assume(e) \ + _assert(e) + +#define _nodefault \ + default: \ + _assume(false); \ + throw;