52#define MAX_SDF_HEADER 64
53#define MAX_SDF_VALUE 255
57#define ATOM_INFO_LEN 36
59#define MAX_STEREO_BONDS 3
60#define NUM_H_ISOTOPES 3
64#define MIN_INPUT_BOND_TYPE 1
65#define MAX_INPUT_BOND_TYPE 4
67#define BOND_TYPE_SINGLE 1
68#define BOND_TYPE_DOUBLE 2
69#define BOND_TYPE_TRIPLE 3
70#define BOND_TYPE_ALTERN 4
72#define STEREO_SNGL_UP 1
73#define STEREO_SNGL_EITHER 4
74#define STEREO_SNGL_DOWN 6
75#define STEREO_DBLE_EITHER 3
79#define INPUT_STEREO_SNGL_UP 1
80#define INPUT_STEREO_SNGL_EITHER 4
81#define INPUT_STEREO_SNGL_DOWN 6
82#define INPUT_STEREO_DBLE_EITHER 3
88#define BOND_MARK_PARITY 0x30
89#define BOND_MARK_HIGHLIGHT 0x40
91#define BOND_MARK_ODD '-'
92#define BOND_MARK_EVEN '+'
93#define BOND_MARK_UNDF '?'
94#define BOND_MARK_UNKN 'u'
95#define BOND_MARK_ERR '*'
98#define SALT_DONOR_Neg 2
99#define SALT_ACCEPTOR 4
100#define SALT_p_DONOR 8
101#define SALT_p_ACCEPTOR 16
102#define SALT_DONOR_ALL (SALT_DONOR_Neg | SALT_DONOR_H | SALT_p_ACCEPTOR | SALT_p_DONOR)
103#define SALT_DONOR_Neg2 (SALT_DONOR_Neg | SALT_p_ACCEPTOR)
104#define SALT_DONOR_H2 (SALT_DONOR_H | SALT_p_DONOR)
105#define SALT_DONOR (SALT_DONOR_Neg | SALT_DONOR_H)
107#define SALT_SELECTED 32
110#define RADICAL_SINGLET 1
111#define RADICAL_DOUBLET 2
112#define RADICAL_TRIPLET 3
119#define ZERO_ATW_DIFF 127
123#define UCINT (int)(unsigned char)
125#ifndef INCHI_US_CHAR_DEF
128#define INCHI_US_CHAR_DEF
131#ifndef INCHI_US_SHORT_DEF
134#define INCHI_US_SHORT_DEF
137#ifndef COMPILE_ALL_CPP
159 void inchi_swap(
char *a,
char *b,
size_t width );
162 void *base,
size_t num,
size_t width,
int( *compare )(
const void *e1,
const void *e2,
void * ) );
164 AT_NUMB *base,
int num,
int( *compare )(
const void *e1,
const void *e2,
void * ) );
173#define inchi_max(a,b) (((a)>(b))?(a):(b))
174#define inchi_min(a,b) (((a)<(b))?(a):(b))
176#ifndef COMPILE_ALL_CPP
unsigned short AT_NUMB
Definition ichisize.h:45
signed char S_CHAR
Definition incomdef.h:126
unsigned short U_SHORT
Definition incomdef.h:133
unsigned char U_CHAR
Definition incomdef.h:127
void inchi_swap(char *a, char *b, size_t width)
Definition ichisort.c:286
int insertions_sort_AT_NUMBERS(void *pCG, AT_NUMB *base, int num, int(*compare)(const void *e1, const void *e2, void *))
Definition ichisort.c:331
int insertions_sort(void *pCG, void *base, size_t num, size_t width, int(*compare)(const void *e1, const void *e2, void *))
signed short S_SHORT
Definition incomdef.h:132
#define inchi_malloc
Definition mode.h:1153
#define inchi_calloc
Definition mode.h:1156
#define inchi_free(X)
Definition mode.h:1162