Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Brice Videau
CCS
Commits
240a027d
Commit
240a027d
authored
Jun 15, 2020
by
Brice Videau
Browse files
Create an extern version of inline procedure (for binding purposes).
parent
608e0ff1
Changes
2
Show whitespace changes
Inline
Side-by-side
include/cconfigspace/interval.h
View file @
240a027d
...
...
@@ -28,7 +28,7 @@ ccs_interval_equal(ccs_interval_t *interval1,
ccs_interval_t
*
interval2
,
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
)
{
if
(
interval
->
type
==
CCS_NUM_FLOAT
)
{
return
(
interval
->
lower_included
?
...
...
src/interval.c
View file @
240a027d
...
...
@@ -116,3 +116,6 @@ ccs_interval_equal(ccs_interval_t *interval1,
}
return
CCS_SUCCESS
;
}
extern
inline
ccs_bool_t
ccs_interval_include
(
ccs_interval_t
*
interval
,
ccs_numeric_t
value
);
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