mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
6b9b57be22
git-subtree-dir: tests/unity git-subtree-split: 1782bab0bacd349a45bc215ff91f082912cd7a64
12 lines
221 B
C
12 lines
221 B
C
#ifndef CEXCEPTION_H
|
|
#define CEXCEPTION_H
|
|
|
|
#define CEXCEPTION_BEING_USED 1
|
|
|
|
#define CEXCEPTION_NONE 0
|
|
#define CEXCEPTION_T int e = 1; (void)
|
|
#define Try if (e)
|
|
#define Catch(a) if (!a)
|
|
|
|
#endif //CEXCEPTION_H
|