Get SemVer more ready

This commit is contained in:
Gregory Mullen (GrayHatter) 2016-02-13 19:41:51 -08:00
parent 94cc8b11ff
commit 4c7856b346

View File

@ -72,22 +72,24 @@ 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
if (major != TOX_VERSION_MAJOR)
return 0;
else
return 1;
}