WPILibC++ 2025.1.1
|
Configuration macros. More...
#include <cstddef>
#include <cstdlib>
Go to the source code of this file.
Macros | |
#define | WPI_HAS_EXCEPTION_SUPPORT 1 |
#define | WPI_THROW(Ex) |
#define | WPI_HOSTED_IMPLEMENTATION 0 |
#define | WPI_MEMORY_LOG_PREFIX "wpi::memory" |
#define | WPI_MEMORY_VERSION (WPI_MEMORY_VERSION_MAJOR * 100 + WPI_MEMORY_VERSION_MINOR) |
The total version number of the form Mmm . | |
#define | WPI_ALIAS_TEMPLATE(Name, ...) |
#define | WPI_MEMORY_VERSION_MAJOR 1 |
The major version number. | |
#define | WPI_MEMORY_VERSION_MINOR 1 |
The minor version number. | |
#define | WPI_MEMORY_VERSION (WPI_MEMORY_VERSION_MAJOR * 100 + WPI_MEMORY_VERSION_MINOR) |
The total version number of the form Mmm . | |
#define | WPI_MEMORY_CHECK_ALLOCATION_SIZE 1 |
Whether or not the allocation size will be checked, i.e. | |
#define | WPI_MEMORY_DEBUG_ASSERT 1 |
Whether or not internal assertions in the library are enabled. | |
#define | WPI_MEMORY_DEBUG_FILL 1 |
Whether or not allocated memory will be filled with special values. | |
#define | WPI_MEMORY_DEBUG_FENCE 1 |
The size of the fence memory, it has no effect if WPI_MEMORY_DEBUG_FILL is false . | |
#define | WPI_MEMORY_DEBUG_LEAK_CHECK 1 |
Whether or not leak checking is enabled. | |
#define | WPI_MEMORY_DEBUG_POINTER_CHECK 1 |
Whether or not the deallocation functions will check for pointers that were never allocated by an allocator. | |
#define | WPI_MEMORY_DEBUG_DOUBLE_DEALLOC_CHECK 1 |
Whether or not the deallocation functions will check for double free errors. | |
#define | WPI_MEMORY_NAMESPACE_PREFIX 1 |
Whether or not everything is in namespace wpi::memory . | |
#define | WPI_MEMORY_TEMPORARY_STACK_MODE 2 |
The mode of the automatic wpi::memory::temporary_stack creation. | |
Configuration macros.
#define WPI_ALIAS_TEMPLATE | ( | Name, | |
... ) |
#define WPI_HAS_EXCEPTION_SUPPORT 1 |
#define WPI_HOSTED_IMPLEMENTATION 0 |
#define WPI_MEMORY_LOG_PREFIX "wpi::memory" |
#define WPI_THROW | ( | Ex | ) |