duckstation

duckstation, but archived from the revision just before upstream changed it to a proprietary software project, this version is the libre one
git clone https://git.neptards.moe/u3shit/duckstation.git
Log | Files | Refs | README | LICENSE

rc_version.h (1148B)


      1 #ifndef RC_VERSION_H
      2 #define RC_VERSION_H
      3 
      4 #include "rc_export.h"
      5 
      6 #include <stdint.h>
      7 
      8 RC_BEGIN_C_DECLS
      9 
     10 #define RCHEEVOS_VERSION_MAJOR 11
     11 #define RCHEEVOS_VERSION_MINOR 5
     12 #define RCHEEVOS_VERSION_PATCH 0
     13 
     14 #define RCHEEVOS_MAKE_VERSION(major, minor, patch) (major * 1000000 + minor * 1000 + patch)
     15 #define RCHEEVOS_VERSION RCHEEVOS_MAKE_VERSION(RCHEEVOS_VERSION_MAJOR, RCHEEVOS_VERSION_MINOR, RCHEEVOS_VERSION_PATCH)
     16 
     17 #define RCHEEVOS_MAKE_STRING(num) #num
     18 #define RCHEEVOS_MAKE_VERSION_STRING(major, minor, patch) RCHEEVOS_MAKE_STRING(major) "." RCHEEVOS_MAKE_STRING(minor) "." RCHEEVOS_MAKE_STRING(patch)
     19 #define RCHEEVOS_MAKE_VERSION_STRING_SHORT(major, minor) RCHEEVOS_MAKE_STRING(major) "." RCHEEVOS_MAKE_STRING(minor)
     20 
     21 #if RCHEEVOS_VERSION_PATCH > 0
     22  #define RCHEEVOS_VERSION_STRING RCHEEVOS_MAKE_VERSION_STRING(RCHEEVOS_VERSION_MAJOR, RCHEEVOS_VERSION_MINOR, RCHEEVOS_VERSION_PATCH)
     23 #else
     24  #define RCHEEVOS_VERSION_STRING RCHEEVOS_MAKE_VERSION_STRING_SHORT(RCHEEVOS_VERSION_MAJOR, RCHEEVOS_VERSION_MINOR)
     25 #endif
     26 
     27 RC_EXPORT uint32_t rc_version(void);
     28 RC_EXPORT const char* rc_version_string(void);
     29 
     30 RC_END_C_DECLS
     31 
     32 #endif /* RC_VERSION_H */