libopenmpt 0.8.0-pre.12+r22254
cross-platform C++ and C library to decode tracked music files
libopenmpt

Macros

#define OPENMPT_API_VERSION_MAJOR   0
 libopenmpt major version number More...
 
#define OPENMPT_API_VERSION_MINOR   8
 libopenmpt minor version number More...
 
#define OPENMPT_API_VERSION_PATCH   0
 libopenmpt patch version number More...
 
#define OPENMPT_API_VERSION_PREREL   "-pre.12"
 libopenmpt pre-release tag More...
 
#define OPENMPT_API_VERSION_IS_PREREL   1
 libopenmpt pre-release flag More...
 
#define OPENMPT_API_VERSION_MAKE(major, minor, patch)   (((major)<<24)|((minor)<<16)|((patch)<<0))
 libopenmpt version number as a single integer value More...
 
#define OPENMPT_API_VERSION   OPENMPT_API_VERSION_MAKE(OPENMPT_API_VERSION_MAJOR, OPENMPT_API_VERSION_MINOR, OPENMPT_API_VERSION_PATCH)
 libopenmpt API version number More...
 
#define OPENMPT_API_VERSION_AT_LEAST(major, minor, patch)   (OPENMPT_API_VERSION >= OPENMPT_API_VERSION_MAKE((major), (minor), (patch)))
 Check whether the libopenmpt API is at least the provided version. More...
 
#define OPENMPT_API_VERSION_BEFORE(major, minor, patch)   (OPENMPT_API_VERSION < OPENMPT_API_VERSION_MAKE((major), (minor), (patch)))
 Check whether the libopenmpt API is before the provided version. More...
 
#define OPENMPT_API_VERSION_STRING   OPENMPT_API_VERSION_STRINGIZE(OPENMPT_API_VERSION_MAJOR) "." OPENMPT_API_VERSION_STRINGIZE(OPENMPT_API_VERSION_MINOR) "." OPENMPT_API_VERSION_STRINGIZE(OPENMPT_API_VERSION_PATCH) OPENMPT_API_VERSION_PREREL
 

Detailed Description

Macro Definition Documentation

◆ OPENMPT_API_VERSION

libopenmpt API version number

◆ OPENMPT_API_VERSION_AT_LEAST

#define OPENMPT_API_VERSION_AT_LEAST (   major,
  minor,
  patch 
)    (OPENMPT_API_VERSION >= OPENMPT_API_VERSION_MAKE((major), (minor), (patch)))

Check whether the libopenmpt API is at least the provided version.

Since
0.3
Remarks
Use the following shim if you need to support earlier libopenmpt versions:
#if !defined(OPENMPT_API_VERSION_AT_LEAST)
#define OPENMPT_API_VERSION_AT_LEAST(major, minor, patch) (OPENMPT_API_VERSION >= OPENMPT_API_VERSION_MAKE((major), (minor), (patch)))
#endif

◆ OPENMPT_API_VERSION_BEFORE

#define OPENMPT_API_VERSION_BEFORE (   major,
  minor,
  patch 
)    (OPENMPT_API_VERSION < OPENMPT_API_VERSION_MAKE((major), (minor), (patch)))

Check whether the libopenmpt API is before the provided version.

Since
0.3
Remarks
Use the following shim if you need to support earlier libopenmpt versions:
#if !defined(OPENMPT_API_VERSION_BEFORE)
#define OPENMPT_API_VERSION_BEFORE(major, minor, patch) (OPENMPT_API_VERSION < OPENMPT_API_VERSION_MAKE((major), (minor), (patch)))
#endif

◆ OPENMPT_API_VERSION_IS_PREREL

#define OPENMPT_API_VERSION_IS_PREREL   1

libopenmpt pre-release flag

◆ OPENMPT_API_VERSION_MAJOR

#define OPENMPT_API_VERSION_MAJOR   0

libopenmpt major version number

◆ OPENMPT_API_VERSION_MAKE

#define OPENMPT_API_VERSION_MAKE (   major,
  minor,
  patch 
)    (((major)<<24)|((minor)<<16)|((patch)<<0))

libopenmpt version number as a single integer value

Since
0.3
Remarks
Use the following shim if you need to support earlier libopenmpt versions:
#if !defined(OPENMPT_API_VERSION_MAKE)
#define OPENMPT_API_VERSION_MAKE(major, minor, patch) (((major)<<24)|((minor)<<16)|((patch)<<0))
#endif

◆ OPENMPT_API_VERSION_MINOR

#define OPENMPT_API_VERSION_MINOR   8

libopenmpt minor version number

◆ OPENMPT_API_VERSION_PATCH

#define OPENMPT_API_VERSION_PATCH   0

libopenmpt patch version number

◆ OPENMPT_API_VERSION_PREREL

#define OPENMPT_API_VERSION_PREREL   "-pre.12"

libopenmpt pre-release tag

◆ OPENMPT_API_VERSION_STRING

#define OPENMPT_API_VERSION_STRING   OPENMPT_API_VERSION_STRINGIZE(OPENMPT_API_VERSION_MAJOR) "." OPENMPT_API_VERSION_STRINGIZE(OPENMPT_API_VERSION_MINOR) "." OPENMPT_API_VERSION_STRINGIZE(OPENMPT_API_VERSION_PATCH) OPENMPT_API_VERSION_PREREL