X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/017b2b71becf7aa4d409e0ce9dbf3dd8e5472255..aaa0be197591295ad82970b51ceb24cb4dbeee10:/UICaboodle/UCPlatform.h 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;