mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-07-06 18:05:54 +08:00
12 lines
206 B
C
12 lines
206 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
|