Commit 240a027d authored by Brice Videau's avatar Brice Videau
Browse files

Create an extern version of inline procedure (for binding purposes).

parent 608e0ff1
...@@ -28,7 +28,7 @@ ccs_interval_equal(ccs_interval_t *interval1, ...@@ -28,7 +28,7 @@ ccs_interval_equal(ccs_interval_t *interval1,
ccs_interval_t *interval2, ccs_interval_t *interval2,
ccs_bool_t *equal_res); ccs_bool_t *equal_res);
static inline ccs_bool_t inline ccs_bool_t
ccs_interval_include(ccs_interval_t *interval, ccs_numeric_t value) { ccs_interval_include(ccs_interval_t *interval, ccs_numeric_t value) {
if (interval->type == CCS_NUM_FLOAT) { if (interval->type == CCS_NUM_FLOAT) {
return ( interval->lower_included ? return ( interval->lower_included ?
......
...@@ -116,3 +116,6 @@ ccs_interval_equal(ccs_interval_t *interval1, ...@@ -116,3 +116,6 @@ ccs_interval_equal(ccs_interval_t *interval1,
} }
return CCS_SUCCESS; return CCS_SUCCESS;
} }
extern inline ccs_bool_t
ccs_interval_include(ccs_interval_t *interval, ccs_numeric_t value);
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