mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
include/: refactor header files more
This commit is contained in:
parent
53266a0d5a
commit
4d1363dcae
32 changed files with 130 additions and 78 deletions
|
|
@ -1,6 +1,10 @@
|
|||
#ifndef __LABWC_BUG_ON_H
|
||||
#define __LABWC_BUG_ON_H
|
||||
|
||||
/*
|
||||
* BUG_ON - assert() without abort()
|
||||
* @condition - expression to be evaluated
|
||||
*/
|
||||
#define BUG_ON(condition) \
|
||||
do { \
|
||||
if ((condition) != 0) { \
|
||||
|
|
@ -9,5 +13,4 @@
|
|||
} \
|
||||
} while (0)
|
||||
|
||||
#endif /* __LABWC_BUT_ON_H */
|
||||
|
||||
#endif /* __LABWC_BUG_ON_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue