mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 15:17:47 +00:00
[api] add a monotonic version number (#5012)
This commit is contained in:
@@ -45,6 +45,16 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The OpenThread API monotonic version number.
|
||||
*
|
||||
* This number MUST increase by one each time the contents of public OpenThread API include headers change.
|
||||
*
|
||||
* @note This number versions both OpenThread platform and user APIs.
|
||||
*
|
||||
*/
|
||||
#define OPENTHREAD_API_VERSION (1)
|
||||
|
||||
/**
|
||||
* @addtogroup api-instance
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user