Other module

Stuff which doesn't fit anywhere else.

Files

file bn_common.h
file bn_type_id.h
file bn_version.h

Namespaces

namespace bn
Main Butano namespace.
namespace bn::version
Current version of Butano.

Classes

class bn::type_id_t
Unique type ID without RTTI.
template<>
struct bn::hash<type_id_t>
Hash support for type_id_t.

Defines

#define BN_CONST
#define BN_UNREACHABLE
#define BN_VERSION_MAJOR
#define BN_VERSION_MINOR
#define BN_VERSION_PATCH
#define BN_VERSION_STRING

Define documentation

#define BN_CONST
#include <bn_common.h>

The return value of a function with this attribute is solely a function of the arguments.

#define BN_UNREACHABLE
#include <bn_common.h>

If control flow reaches the point of this macro, the program is undefined.

#define BN_VERSION_MAJOR

Specifies the current major version of Butano.

#define BN_VERSION_MINOR

Specifies the current minor version of Butano.

#define BN_VERSION_PATCH

Specifies the current patch version of Butano.

#define BN_VERSION_STRING

Specifies the current version of Butano in string format.