ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/ecb.h
(Generate patch)

Comparing libecb/ecb.h (file contents):
Revision 1.99 by root, Thu Jun 7 21:28:36 2012 UTC vs.
Revision 1.100 by root, Sun Jun 10 15:46:00 2012 UTC

459 ecb_inline void ecb_unreachable (void) ecb_noreturn; 459 ecb_inline void ecb_unreachable (void) ecb_noreturn;
460 ecb_inline void ecb_unreachable (void) { } 460 ecb_inline void ecb_unreachable (void) { }
461#endif 461#endif
462 462
463/* try to tell the compiler that some condition is definitely true */ 463/* try to tell the compiler that some condition is definitely true */
464#define ecb_assume(cond) do { if (!(cond)) ecb_unreachable (); } while (0) 464#define ecb_assume(cond) if (!(cond)) ecb_unreachable (); else 0
465 465
466ecb_inline unsigned char ecb_byteorder_helper (void) ecb_const; 466ecb_inline unsigned char ecb_byteorder_helper (void) ecb_const;
467ecb_inline unsigned char 467ecb_inline unsigned char
468ecb_byteorder_helper (void) 468ecb_byteorder_helper (void)
469{ 469{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines