anbox-platform-sdk  1.23.0
Anbox Platform SDK API documentation
version.h File Reference
#include <stdint.h>
+ Include dependency graph for version.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ANBOX_PLATFORM_MAJOR_VERSION   1
 
#define ANBOX_PLATFORM_MINOR_VERSION   23
 
#define ANBOX_PLATFORM_PATCH_VERSION   0
 
#define ANBOX_PLATFORM_VERSION   12300
 

Functions

void anbox_platform_get_versions (uint32_t version, uint32_t &major, uint32_t &minor, uint32_t &patch)
 Get the individual version numbers from the combined version number. More...
 

Macro Definition Documentation

◆ ANBOX_PLATFORM_MAJOR_VERSION

#define ANBOX_PLATFORM_MAJOR_VERSION   1

Definition at line 24 of file version.h.

◆ ANBOX_PLATFORM_MINOR_VERSION

#define ANBOX_PLATFORM_MINOR_VERSION   23

Definition at line 25 of file version.h.

◆ ANBOX_PLATFORM_PATCH_VERSION

#define ANBOX_PLATFORM_PATCH_VERSION   0

Definition at line 26 of file version.h.

◆ ANBOX_PLATFORM_VERSION

#define ANBOX_PLATFORM_VERSION   12300

Definition at line 28 of file version.h.

Function Documentation

◆ anbox_platform_get_versions()

void anbox_platform_get_versions ( uint32_t  version,
uint32_t &  major,
uint32_t &  minor,
uint32_t &  patch 
)
inline

Get the individual version numbers from the combined version number.

Parameters
versionThe combined version, i.e. ANBOX_PLATFORM_VERSION or 10101 for version 1.1.1
majorThe major version
minorThe minor version
patchThe patch version
Returns
void

Definition at line 40 of file version.h.