General-purpose definitions for Banjo API.
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
|
#define | BJ_VERSION_MAJOR(version) |
| Extracts the major version number from a 32-bit version number.
|
|
#define | BJ_VERSION_MINOR(version) |
| Extracts the minor version number from a 32-bit version number.
|
|
#define | BJ_VERSION_PATCH(version) |
| Extracts the patch version number from a 32-bit version number.
|
|
#define | BJ_MAKE_VERSION(major, minor, patch) |
| Constructs an API version number into 32bits.
|
|
#define | BJ_VERSION_MAJOR_NUMBER 0 |
| Banjo current major version.
|
|
#define | BJ_VERSION_MINOR_NUMBER 1 |
| Banjo current minor version.
|
|
#define | BJ_VERSION_PATCH_NUMBER 0 |
| Banjo current patch version.
|
|
#define | BJ_VERSION BJ_MAKE_VERSION(BJ_VERSION_MAJOR_NUMBER, BJ_VERSION_MINOR_NUMBER, BJ_VERSION_PATCH_NUMBER) |
| Expands to a 32bits representatin of the current version the API.
|
|
#define | BJ_NAME "Banjo" |
| Name of the library.
|
|
#define | BJ_OS_UNKNOWN |
| Platform detection.
|
|
#define | BJ_FALSE ((bj_bool)0) |
|
#define | BJ_TRUE ((bj_bool)1) |
|