[libclang] Add some comments about the version constants for the libclang API.

llvm-svn: 167489
This commit is contained in:
Argyrios Kyrtzidis 2012-11-06 21:21:49 +00:00
parent f036ca466e
commit 1c4db8d18c
1 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,14 @@
#include "clang-c/Platform.h"
#include "clang-c/CXString.h"
/**
* \brief The version constants for the libclang API.
* CINDEX_VERSION_MINOR should increase when there are API additions.
* CINDEX_VERSION_MAJOR is intended for "major" source/ABI breaking changes.
*
* The policy about the libclang API was always to keep it source and ABI
* compatible, thus CINDEX_VERSION_MAJOR is expected to remain stable.
*/
#define CINDEX_VERSION_MAJOR 0
#define CINDEX_VERSION_MINOR 6