diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2009-09-07 12:38:10 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:13:58 +0000 |
commit | 670a04941260717d9759a85b8d20585bc976e56e (patch) | |
tree | 8424f2a6b90fbb0dd9fdf9bfe4c5d00a66c42ae3 /UICaboodle/UCPlatform.h | |
parent | 6c96d5a3b5540f2470be62bac68ea1e791eaf1fa (diff) |
Major modifications to ready for stability.
Diffstat (limited to 'UICaboodle/UCPlatform.h')
-rw-r--r-- | UICaboodle/UCPlatform.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/UICaboodle/UCPlatform.h b/UICaboodle/UCPlatform.h index 9e95703..2506a5d 100644 --- a/UICaboodle/UCPlatform.h +++ b/UICaboodle/UCPlatform.h @@ -46,3 +46,11 @@ while (false) __attribute__((packed)) #define _finline inline __attribute__((always_inline)) + +#define _assume(e) \ + _assert(e) + +#define _nodefault \ + default: \ + _assume(false); \ + throw; |