Check for required Tox API version in compile time
This commit is contained in:
parent
872b2a8ee7
commit
ee7adc3a5c
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
|||
|
||||
#include <tox/tox.h>
|
||||
|
||||
#define TOX_IS_COMPATIBLE TOX_VERSION_IS_API_COMPATIBLE
|
||||
TOX_VERSION_REQUIRE(0, 0, 0);
|
||||
|
||||
void Init_tox();
|
||||
|
||||
#define IP_LENGTH_MAX 15
|
||||
|
|
Reference in a new issue