Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Brice Videau
CCS
Commits
41da517e
Commit
41da517e
authored
Jun 08, 2020
by
Brice Videau
Browse files
Move interval out of base.
parent
9a82926f
Changes
2
Show whitespace changes
Inline
Side-by-side
include/ccs/base.h
View file @
41da517e
...
...
@@ -131,16 +131,6 @@ union ccs_value_u {
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
{
ccs_value_t
value
;
ccs_data_type_t
type
;
...
...
include/ccs/interval.h
View file @
41da517e
...
...
@@ -5,6 +5,16 @@
extern
"C"
{
#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
ccs_interval_empty
(
ccs_interval_t
*
interval
,
ccs_bool_t
*
empty_ret
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment