-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBuild_defs.h
32 lines (25 loc) · 1.1 KB
/
Build_defs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef _BUILD_DEFS_H_
#define _BUILD_DEFS_H_
/*******************************************************************/
/*** FILE : Build_defs.h ***/
/*** AUTHOR: Sekhar Muddana ***/
/*** MODIFIED: 9/93 - Trent Whiteley ***/
/*** changed DIMENSION_LIMIT and PP_COL_SIZE ***/
/*** from #define'd to global ints and added ***/
/*** upper and lower bounds and an increment ***/
/*** for the dimension limit ***/
/*******************************************************************/
#define DEFAULT_FIELD 251
#define TRUE 1
#define FALSE 0
#define OK 1
#define MEM_ERR 0
#define NULL_PTR_ERR 0
#define assert_not_null(p) if ((p) == NULL) return(NULL_PTR_ERR)
#define assert_not_null_nv(p) if ((p) == NULL) return;
typedef unsigned char Scalar; // do not change from u_char without understanding implication on struct Node
typedef int Basis;
typedef char Degree;
typedef Degree *Type;
typedef int Name;
#endif