#include <stdint.h>
#include "models/assert.h"
Go to the source code of this file.
◆ SASSERT_SIZE
| #define SASSERT_SIZE |
( |
| what, |
|
|
| size ) |
◆ T2FS_STRINGIFY
| #define T2FS_STRINGIFY |
( |
| x | ) |
|
◆ T2FS_CONCAT
| #define T2FS_CONCAT |
( |
| a, |
|
|
| b ) |
◆ T2FS_GET_SWAP_STRUCT
| #define T2FS_GET_SWAP_STRUCT |
( |
| name | ) |
|
Value:
#define T2FS_CONCAT(a, b)
Definition models/common.h:32
◆ T2FS_SWAP_STRUCT_ARGS
| #define T2FS_SWAP_STRUCT_ARGS |
( |
| ... | ) |
|
◆ T2FS_CREATE_SWAP_STRUCT
| #define T2FS_CREATE_SWAP_STRUCT |
( |
| name, |
|
|
| sizes ) |
Value:
#define T2FS_SWAP_STRUCT_ARGS(...)
Definition models/common.h:35
#define T2FS_GET_SWAP_STRUCT(name)
Definition models/common.h:33
#define T2FS_ADD_CONST_ARRAY_NUMBERS(...)
Definition models/common.h:46
◆ T2FS_SWAP_STRUCT_COUNT
| #define T2FS_SWAP_STRUCT_COUNT |
( |
| name | ) |
|
◆ _T2FS_ADD_CONST_ARRAY_NUMBERS_x
| #define _T2FS_ADD_CONST_ARRAY_NUMBERS_x |
( |
| n, |
|
|
| ... ) |
Value:T2FS_CONCAT(_T2FS_ADD_CONST_ARRAY_NUMBERS_, n)(__VA_ARGS__)
◆ T2FS_ADD_CONST_ARRAY_NUMBERS
| #define T2FS_ADD_CONST_ARRAY_NUMBERS |
( |
| ... | ) |
|
Value:
#define _T2FS_N_VA_ARGS(...)
Definition assert.h:6
#define _T2FS_ADD_CONST_ARRAY_NUMBERS_x(n,...)
Definition models/common.h:45
◆ T2FS_15BIT_SCALE_FACTOR
| #define T2FS_15BIT_SCALE_FACTOR |
( |
| v | ) |
|
Value:Used to calculate scaling factor for certain int16_t values, the scaling factor is used for conversion to float.
◆ T2FS_BONE_ROT_SCALE_FACTOR
◆ T2FS_OBJ_ROT_SCALE_FACTOR
◆ t2fs_endian_swap_struct()
| void t2fs_endian_swap_struct |
( |
void * | struc, |
|
|
const uint8_t *const | swap, |
|
|
uint32_t | swapCount ) |