24 lines
729 B
C
24 lines
729 B
C
#ifndef ROUTE_H_c2d88c54_f18d_4b71_9fce_5d43c0723360
|
|
#define ROUTE_H_c2d88c54_f18d_4b71_9fce_5d43c0723360
|
|
|
|
/* Sticking to odd-numbered constants, since the plan is for most
|
|
bindings to use odd-numbered atoms for immediates and even-numbered
|
|
atoms for heap-allocated complex values. TODO: make this a proper
|
|
part of the interface? */
|
|
#define TT_WILD ((tt_atom_t) -1) /* Wildcard */
|
|
#define TT_BOS ((tt_atom_t) -3) /* Beginning of sequence */
|
|
#define TT_EOS ((tt_atom_t) -5) /* End of sequence */
|
|
#define TT_BOC ((tt_atom_t) -7) /* Beginning of capture */
|
|
#define TT_EOC ((tt_atom_t) -9) /* End of capture */
|
|
|
|
// TODO move to the right place
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|