Versioning

With KapUI you can do specifics things by KapUI version.

To check version you have to do this :

#include "KapUI/KapUI.hpp"

void myFunction() {
    #if IS_KAPUI_VERSION(0, 1)
        //do something if KapUI is in version 0.1
    #else
        //do something if KapUI is not in version 0.1
    #endif
    
    #if IS_MAX_KAPUI_VERSION(0, 1))
        //do something if KapUI version is 0.1 maximum
    #else
        //do something if KapUI version is not 0.1 maximum
    #endif
    
    #if IS_MIN_KAPUI_VERSION(0, 1))
        //do something if KapUI version is 0.1 minimum
    #else
        //do something if KapUI version is not 0.1 minimum
    #endif
}

Last updated