Commit 41da517e authored by Brice Videau's avatar Brice Videau
Browse files

Move interval out of base.

parent 9a82926f
...@@ -131,16 +131,6 @@ union ccs_value_u { ...@@ -131,16 +131,6 @@ union ccs_value_u {
typedef union ccs_value_u ccs_value_t; typedef union ccs_value_u ccs_value_t;
struct ccs_interval_s {
ccs_numeric_type_t type;
ccs_numeric_t lower;
ccs_numeric_t upper;
ccs_bool_t lower_included;
ccs_bool_t upper_included;
};
typedef struct ccs_interval_s ccs_interval_t;
struct ccs_datum_s { struct ccs_datum_s {
ccs_value_t value; ccs_value_t value;
ccs_data_type_t type; ccs_data_type_t type;
......
...@@ -5,6 +5,16 @@ ...@@ -5,6 +5,16 @@
extern "C" { extern "C" {
#endif #endif
struct ccs_interval_s {
ccs_numeric_type_t type;
ccs_numeric_t lower;
ccs_numeric_t upper;
ccs_bool_t lower_included;
ccs_bool_t upper_included;
};
typedef struct ccs_interval_s ccs_interval_t;
extern ccs_error_t extern ccs_error_t
ccs_interval_empty(ccs_interval_t *interval, ccs_bool_t *empty_ret); ccs_interval_empty(ccs_interval_t *interval, ccs_bool_t *empty_ret);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment