repo.or.cz
/
eruntime.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add test for function eruntime_get_version() and tweak Makefile slightly.
[eruntime.git]
/
src
/
version.h
blob
4a0faac07c7a937f0025d8f76c3e75b8b1dc0361
1
#include <inttypes.h>
2
3
typedef
struct
_version_spec_struct
4
{
5
uint16_t
major
;
6
uint16_t
minor
;
7
uint32_t
patch
;
8
uint32_t
build
;
9
const char
*
extra_str
;
10
11
}
version_spec_t
;
12
13
int8_t
eruntime_get_version
(
version_spec_t
*);
14
int8_t
eruntime_compare_versions
(
version_spec_t
*,
version_spec_t
*);
15
16
/*
17
* vim: ts=8 sw=8 noet fdm=marker tw=80
18
*/