src/omnicore/version.cpp
//! Returns formatted Omni Core version, e.g. "1.2.0" or "1.3.4.1"
Returns formatted Omni Core version, e.g.
Returns formatted Omni Core version e . g .
const std::string OmniCoreVersion()
{
    if (OMNICORE_VERSION_BUILD) {
        return strprintf("%d.%d.%d.%d",
                OMNICORE_VERSION_MAJOR,
                OMNICORE_VERSION_MINOR,
                OMNICORE_VERSION_PATCH,
                OMNICORE_VERSION_BUILD);
    } else {
        return strprintf("%d.%d.%d",
                OMNICORE_VERSION_MAJOR,
                OMNICORE_VERSION_MINOR,
                OMNICORE_VERSION_PATCH);
    }
}
const std :: string OmniCoreVersion ( ) { if ( OMNICORE_VERSION_BUILD ) { return strprintf ( " " , OMNICORE_VERSION_MAJOR , OMNICORE_VERSION_MINOR , OMNICORE_VERSION_PATCH , OMNICORE_VERSION_BUILD ) ; } else { return strprintf ( " " , OMNICORE_VERSION_MAJOR , OMNICORE_VERSION_MINOR , OMNICORE_VERSION_PATCH ) ; } }
Returns formatted Omni Core version, e.g.
Returns formatted Omni Core version e . g .