#include <stdlib.h>
#include <stdint.h>
+#include <stdbool.h>
/**
* @brief Signed integer type.
*/
typedef double Real;
-/**
- * @brief Boolean type (prefixed with C_ to avoid some conflicts).
- */
-typedef enum {
- C_FALSE = 0, ///< False is mapped to 0
- C_TRUE = 1 ///< True is mapped to 1
-} Bool;
-
/**
* @brief Enumeration for the type of buffer or heap.
*/
typedef enum {
- MIN_T = 0, ///< Minimum element first.
- MAX_T = 1 ///< Maximum element first.
+ MIN_T = 0, ///< Minimum element first.
+ MAX_T = 1 ///< Maximum element first.
} OrderType;
/**
* @brief Generic item-value type; 'value' may correspond e.g. to distance.
*/
typedef struct ItemValue {
- void* item; ///< Pointer to an item of any type.
- Real value; ///< Value associated with the item.
+ void* item; ///< Pointer to an item of any type.
+ Real value; ///< Value associated with the item.
} ItemValue;
#endif