Merge pull request #2780 from LoicFr/master
Add function aiGetVersionPatch() to be able to display Assimp version as in Git tagspull/2783/head^2
commit
16397c1849
|
@ -66,6 +66,12 @@ ASSIMP_API const char* aiGetLegalString () {
|
||||||
return LEGAL_INFORMATION;
|
return LEGAL_INFORMATION;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
// Get Assimp patch version
|
||||||
|
ASSIMP_API unsigned int aiGetVersionPatch() {
|
||||||
|
return VER_PATCH;
|
||||||
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
// Get Assimp minor version
|
// Get Assimp minor version
|
||||||
ASSIMP_API unsigned int aiGetVersionMinor () {
|
ASSIMP_API unsigned int aiGetVersionMinor () {
|
||||||
|
|
|
@ -62,6 +62,13 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
ASSIMP_API const char* aiGetLegalString (void);
|
ASSIMP_API const char* aiGetLegalString (void);
|
||||||
|
|
||||||
|
// ---------------------------------------------------------------------------
|
||||||
|
/** @brief Returns the current patch version number of Assimp.
|
||||||
|
* @return Patch version of the Assimp runtime the application was
|
||||||
|
* linked/built against
|
||||||
|
*/
|
||||||
|
ASSIMP_API unsigned int aiGetVersionPatch(void);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
/** @brief Returns the current minor version number of Assimp.
|
/** @brief Returns the current minor version number of Assimp.
|
||||||
* @return Minor version of the Assimp runtime the application was
|
* @return Minor version of the Assimp runtime the application was
|
||||||
|
|
Loading…
Reference in New Issue