mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Get SemVer more ready
This commit is contained in:
parent
94cc8b11ff
commit
4c7856b346
|
@ -72,23 +72,25 @@ typedef struct Messenger Tox;
|
|||
|
||||
uint32_t tox_version_major(void)
|
||||
{
|
||||
return 0;
|
||||
return TOX_VERSION_MAJOR;
|
||||
}
|
||||
|
||||
uint32_t tox_version_minor(void)
|
||||
{
|
||||
return 0;
|
||||
return TOX_VERSION_MINOR;
|
||||
}
|
||||
|
||||
uint32_t tox_version_patch(void)
|
||||
{
|
||||
return 0;
|
||||
return TOX_VERSION_PATCH;
|
||||
}
|
||||
|
||||
bool tox_version_is_compatible(uint32_t major, uint32_t minor, uint32_t patch)
|
||||
{
|
||||
//TODO
|
||||
return 1;
|
||||
if (major != TOX_VERSION_MAJOR)
|
||||
return 0;
|
||||
else
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user