Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
aml
Commits
d8ce7667
Commit
d8ce7667
authored
Mar 21, 2019
by
Nicolas Denoyelle
Browse files
fail library initialization if header is not compatible
parent
81d0b32f
Pipeline
#6744
canceled with stage
in 10 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/aml.c
View file @
d8ce7667
...
...
@@ -47,6 +47,8 @@ int aml_init(int *argc, char **argv[])
{
char
*
version
=
VERSION
;
aml_major_version
=
atoi
(
strtok
(
version
,
"."
));
if
(
aml_major_version
!=
AML_ABI_VERSION
)
return
-
1
;
aml_minor_version
=
atoi
(
strtok
(
NULL
,
"."
));
aml_patch_version
=
atoi
(
strtok
(
NULL
,
"."
));
return
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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