* custom: A structure (defined by caller/parent) for holding custom data to be passed along to the interrupt() or one of the functions. May be NULL.
* data: A structure (defined by function) for holding data relevant to the function. May be NULL. May be required.
*/
-#ifndef _di_f_type_state_t_
+#ifndef _di_f_state_t_
typedef struct {
uint16_t step_large;
uint16_t step_small;
state.callbacks = 0; \
state.custom = 0; \
state.data = 0;
-#endif // _di_f_type_state_t_
+#endif // _di_f_state_t_
/**
* Conditional 128-bit support.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_int8s_t_
+#ifndef _di_f_int8s_t_
typedef struct {
int8_t *array;
#define macro_f_int8s_t_initialize(array, size, used) { array, size, used }
#define macro_f_int8s_t_initialize2(array, length) { array, length, length }
-#endif // _di_int8s_t_
+#endif // _di_f_int8s_t_
/**
* An array of an array of array int8_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_int8ss_t_
+#ifndef _di_f_int8ss_t_
typedef struct {
f_int8s_t *array;
#define macro_f_int8ss_t_initialize(array, size, used) { array, size, used }
#define macro_f_int8ss_t_initialize2(array, length) { array, length, length }
-#endif // _di_int8ss_t_
+#endif // _di_f_int8ss_t_
/**
* An array of array uint8_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_uint8s_t_
+#ifndef _di_f_uint8s_t_
typedef struct {
uint8_t *array;
#define macro_f_uint8s_t_initialize(array, size, used) { array, size, used }
#define macro_f_uint8s_t_initialize2(array, length) { array, length, length }
-#endif // _di_uint8s_t_
+#endif // _di_f_uint8s_t_
/**
* An array of an array of array uint8_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_uint8ss_t_
+#ifndef _di_f_uint8ss_t_
typedef struct {
f_uint8s_t *array;
#define macro_f_uint8ss_t_initialize(array, size, used) { array, size, used }
#define macro_f_uint8ss_t_initialize2(array, length) { array, length, length }
-#endif // _di_uint8ss_t_
+#endif // _di_f_uint8ss_t_
/**
* An array of array int16_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_int16s_t_
+#ifndef _di_f_int16s_t_
typedef struct {
int16_t *array;
#define macro_f_int16s_t_initialize(array, size, used) { array, size, used }
#define macro_f_int16s_t_initialize2(array, length) { array, length, length }
-#endif // _di_int16s_t_
+#endif // _di_f_int16s_t_
/**
* An array of an array of array int16_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_int16ss_t_
+#ifndef _di_f_int16ss_t_
typedef struct {
f_int16s_t *array;
#define macro_f_int16ss_t_initialize(array, size, used) { array, size, used }
#define macro_f_int16ss_t_initialize2(array, length) { array, length, length }
-#endif // _di_int16ss_t_
+#endif // _di_f_int16ss_t_
/**
* An array of array uint16_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_uint16s_t_
+#ifndef _di_f_uint16s_t_
typedef struct {
uint16_t *array;
#define macro_f_uint16s_t_initialize(array, size, used) { array, size, used }
#define macro_f_uint16s_t_initialize2(array, length) { array, length, length }
-#endif // _di_uint16s_t_
+#endif // _di_f_uint16s_t_
/**
* An array of an array of array uint16_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_uint16ss_t_
+#ifndef _di_f_uint16ss_t_
typedef struct {
f_uint16s_t *array;
#define macro_f_uint16s_t_initialize(array, size, used) { array, size, used }
#define macro_f_uint16s_t_initialize2(array, length) { array, length, length }
-#endif // _di_uint16ss_t_
+#endif // _di_f_uint16ss_t_
/**
* An array of array int32_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_int32s_t_
+#ifndef _di_f_int32s_t_
typedef struct {
int32_t *array;
#define macro_f_int32s_t_initialize(array, size, used) { array, size, used }
#define macro_f_int32s_t_initialize2(array, length) { array, length, length }
-#endif // _di_int32s_t_
+#endif // _di_f_int32s_t_
/**
* An array of an array of array int32_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_int32ss_t_
+#ifndef _di_f_int32ss_t_
typedef struct {
f_int32s_t *array;
#define macro_f_int32ss_t_initialize(array, size, used) { array, size, used }
#define macro_f_int32ss_t_initialize2(array, length) { array, length, length }
-#endif // _di_int32ss_t_
+#endif // _di_f_int32ss_t_
/**
* An array of array uint32_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_uint32s_t_
+#ifndef _di_f_uint32s_t_
typedef struct {
uint32_t *array;
#define macro_f_uint32s_t_initialize(array, size, used) { array, size, used }
#define macro_f_uint32s_t_initialize2(array, length) { array, length, length }
-#endif // _di_uint32s_t_
+#endif // _di_f_uint32s_t_
/**
* An array of an array of array uint32_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_uint32ss_t_
+#ifndef _di_f_uint32ss_t_
typedef struct {
f_uint32s_t *array;
#define macro_f_uint32ss_t_initialize(array, size, used) { array, size, used }
#define macro_f_uint32ss_t_initialize2(array, length) { array, length, length }
-#endif // _di_uint32ss_t_
+#endif // _di_f_uint32ss_t_
/**
* An array of array int64_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_int64s_t_
+#ifndef _di_f_int64s_t_
typedef struct {
int64_t *array;
#define macro_f_int64s_t_initialize(array, size, used) { array, size, used }
#define macro_f_int64s_t_initialize2(array, length) { array, length, length }
-#endif // _di_int64s_t_
+#endif // _di_f_int64s_t_
/**
* An array of an array of array int64_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_int64ss_t_
+#ifndef _di_f_int64ss_t_
typedef struct {
f_int64s_t *array;
#define macro_f_int64ss_t_initialize(array, size, used) { array, size, used }
#define macro_f_int64ss_t_initialize2(array, length) { array, length, length }
-#endif // _di_int64ss_t_
+#endif // _di_f_int64ss_t_
/**
* An array of array uint64_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_uint64s_t_
+#ifndef _di_f_uint64s_t_
typedef struct {
uint64_t *array;
#define macro_f_uint64s_t_initialize(array, size, used) { array, size, used }
#define macro_f_uint64s_t_initialize2(array, length) { array, length, length }
-#endif // _di_uint64s_t_
+#endif // _di_f_uint64s_t_
/**
* An array of an array of array uint64_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_uint64ss_t_
+#ifndef _di_f_uint64ss_t_
typedef struct {
f_uint64s_t *array;
#define macro_f_uint64ss_t_initialize(array, size, used) { array, size, used }
#define macro_f_uint64ss_t_initialize2(array, length) { array, length, length }
-#endif // _di_uint64ss_t_
+#endif // _di_f_uint64ss_t_
/**
* Provide a 128-bit type wrapper, which could be either 64-bit or 128-bit depending on support.
*/
#ifndef __SIZEOF_INT128__
- #ifndef _di_int128_t_
+ #ifndef _di_f_int128_t_
typedef __int128_t int128_t;
- #endif // _di_int128_t_
+ #endif // _di_f_int128_t_
- #ifndef _di_uint128_t_
+ #ifndef _di_f_uint128_t_
typedef __uint128_t uint128_t;
- #endif // _di_uint128_t_
+ #endif // _di_f_uint128_t_
#else // __SIZEOF_INT128__
- #ifndef _di_int128_t_
+ #ifndef _di_f_int128_t_
typedef int64_t int128_t;
- #endif // _di_int128_t_
+ #endif // _di_f_int128_t_
- #ifndef _di_uint128_t_
+ #ifndef _di_f_uint128_t_
typedef uint64_t uint128_t;
- #endif // _di_uint128_t_
+ #endif // _di_f_uint128_t_
#endif // __SIZEOF_INT128__
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_int128s_t_
+#ifndef _di_f_int128s_t_
typedef struct {
int128_t *array;
#define macro_f_int128s_t_initialize(array, size, used) { array, size, used }
#define macro_f_int128s_t_initialize2(array, length) { array, length, length }
-#endif // _di_int128s_t_
+#endif // _di_f_int128s_t_
/**
* An array of and array of int128_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_int128ss_t_
+#ifndef _di_f_int128ss_t_
typedef struct {
f_int128s_t *array;
#define macro_f_int128ss_t_initialize(array, size, used) { array, size, used }
#define macro_f_int128ss_t_initialize2(array, length) { array, length, length }
-#endif // _di_int128ss_t_
+#endif // _di_f_int128ss_t_
/**
* An array of uint128_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_uint128s_t_
+#ifndef _di_f_uint128s_t_
typedef struct {
uint128_t *array;
#define macro_f_uint128s_t_initialize(array, size, used) { array, size, used }
#define macro_f_uint128s_t_initialize2(array, length) { array, length, length }
-#endif // _di_uint128s_t_
+#endif // _di_f_uint128s_t_
/**
* An array of and array of uint128_t.
* size: Total amount of allocated space.
* used: Total number of allocated spaces used.
*/
-#ifndef _di_uint128ss_t_
+#ifndef _di_f_uint128ss_t_
typedef struct {
f_uint128s_t *array;
#define macro_f_uint128ss_t_initialize(array, size, used) { array, size, used }
#define macro_f_uint128ss_t_initialize2(array, length) { array, length, length }
-#endif // _di_uint128ss_t_
+#endif // _di_f_uint128ss_t_
/**
* This holds an array of f_status_t.