#include <stdlib.h>
#include <stdint.h>
Go to the source code of this file.
◆ _SWIZ_ENUM
#define _SWIZ_ENUM |
( |
|
s | ) |
typedef unsigned int s; enum |
◆ _SWIZ_EXTERN
#define _SWIZ_EXTERN __attribute__((visibility("default"))) extern |
◆ SWIZ_VERSION
#define SWIZ_VERSION "0.4.0" |
◆ SWIZ_VERSION_INT
#define SWIZ_VERSION_INT 400 |
◆ SwizContext
◆ _SWIZ_ENUM() [1/2]
◆ _SWIZ_ENUM() [2/2]
_SWIZ_ENUM |
( |
SwizPlatform |
| ) |
|
◆ swizGetErrorMessage()
_SWIZ_EXTERN const char * swizGetErrorMessage |
( |
SwizError |
error | ) |
|
Gets an error message for #SwizError.
- Parameters
-
- Returns
- An error message
◆ swizGetVersion()
Gets the version of console-swizzler.
It should be of the form x.x.x
.
- Returns
- A string that represents the version.
◆ swizGetVersionAsInt()
Gets the version of console-swizzler as an integer.
The value should be major * 10000 + minor * 100 + patch
. If swizGetVersion() == "1.2.3"
then swizGetVersionAsInt() == 10203
.
- Returns
- An integer that represents the version.