This file is a header file of source codes in the book 'C Interfaces and Implementations'. 更多...
#include <setjmp.h>
结构体 | |
struct | T |
struct | Except_Frame |
宏定义 | |
#define | T Except_T |
#define | RAISE(e) Except_raise(&(e), __FILE__, __LINE__) |
#define | RERAISE |
#define | RETURN switch (Except_stack = Except_stack->prev,0) default: return |
#define | TRY |
#define | EXCEPT(e) |
#define | ELSE |
#define | FINALLY |
#define | END_TRY |
类型定义 | |
typedef struct T | T |
typedef struct Except_Frame | Except_Frame |
枚举 | |
enum | { Except_entered =0 , Except_raised , Except_handled , Except_finalized } |
函数 | |
void | Except_raise (const T *e, const char *file, int line) |
变量 | |
Except_Frame * | Except_stack |
const Except_T | Assert_Failed |
This file is a header file of source codes in the book 'C Interfaces and Implementations'.
This header file declares functions in the source file 'src_cii/except.c'.
在文件 except.h 中定义.
#define ELSE |
#define END_TRY |
#define EXCEPT | ( | e | ) |
#define FINALLY |
#define RAISE | ( | e | ) | Except_raise(&(e), __FILE__, __LINE__) |
#define RERAISE |
#define RETURN switch (Except_stack = Except_stack->prev,0) default: return |
#define TRY |
typedef struct Except_Frame Except_Frame |
anonymous enum |
|
extern |
|
extern |