.. _version:

Version
=============

The CosmicSDK library version is defined in the `CosmicSDKVersion.h` header file, which is included in the SDK. 
The version information is available as a string that could be consulted with the methods :c:func:`CosmicSDK_GetVersion`
on the C API, or :cpp:func:`CosmicSDK::getVersion` / :cpp:func:`CosmicAsyncSDK::getVersion` on the C++ blocking and async APIs,
as well as individual components :c:macro:`COSMICSDK_VERSION_MAJOR`, :c:macro:`COSMICSDK_VERSION_MINOR`, and :c:macro:`COSMICSDK_VERSION_PATCH`.

.. doxygendefine:: COSMICSDK_VERSION_MAJOR
.. doxygendefine:: COSMICSDK_VERSION_MINOR
.. doxygendefine:: COSMICSDK_VERSION_PATCH