File: CException.h

package info (click to toggle)
cjson 1.7.19-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,996 kB
  • sloc: ansic: 16,797; ruby: 3,083; makefile: 338; python: 220; sh: 26
file content (11 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#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