X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/62fc71463d6f0aacc01348848af1265752a876c4..6981ccdf8bbbf6c2b96c6bdf5958cd2a1acc63a5:/UICaboodle/UCPlatform.h?ds=sidebyside diff --git a/UICaboodle/UCPlatform.h b/UICaboodle/UCPlatform.h index 0940406c..2506a5dc 100644 --- a/UICaboodle/UCPlatform.h +++ b/UICaboodle/UCPlatform.h @@ -45,5 +45,12 @@ while (false) #define _packed \ __attribute__((packed)) -//#define _finline __attribute__((force_inline)) -#define _finline inline +#define _finline inline __attribute__((always_inline)) + +#define _assume(e) \ + _assert(e) + +#define _nodefault \ + default: \ + _assume(false); \ + throw;