/************************************************************************/
/* 数据结构:执行结果状态表 core.h */
/* 挑灯看剑-shuchangs@126.com 2010-10 */
/* 云歌国际(Cloud Singers International) www.cocoral.com */
/************************************************************************/
/*
** 定义 函数结果状态代码
*/
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
#ifndef OK
#define OK 1
#endif
#ifndef ERROR
#define ERROR 0
#endif
#ifndef INFEASIBLE
#define INFEASIBLE -1
#endif
#ifndef OVERFLOW
#define OVERFLOW -2
#endif
/*
* Status 是函数的返回值类型,其值是函数结果状态代码
* 约定函数处理过程中涉及到改变数据值操作均通过指针来实现
*/
typedef int Status;
typedef int COUNT;