|
Blender V5.3
|
#include "BLI_compiler_compat.hh"#include "BLI_sys_types.hh"#include "BLI_utildefines_variadic.hh"#include "BLI_assert.hh"#include "BLI_compiler_typecheck.hh"#include <type_traits>#include <utility>Go to the source code of this file.
Classes | |
| struct | blender::blenlib_internal::IsBoundedArray< T > |
| struct | blender::blenlib_internal::IsBoundedArray< T[N]> |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::blenlib_internal |
Macros | |
Min/Max Macros | |
| #define | INIT_MINMAX(min, max) |
| #define | INIT_MINMAX2(min, max) |
Swap/Shift Macros | |
| #define | SWAP(type, a, b) |
| #define | SHIFT3(type, a, b, c) |
| #define | SHIFT4(type, a, b, c, d) |
Equal to Any Element (ELEM) Macro | |
| #define | _VA_ELEM2(v, a) |
| #define | _VA_ELEM3(v, a, b) |
| #define | _VA_ELEM4(v, a, b, c) |
| #define | _VA_ELEM5(v, a, b, c, d) |
| #define | _VA_ELEM6(v, a, b, c, d, e) |
| #define | _VA_ELEM7(v, a, b, c, d, e, f) |
| #define | _VA_ELEM8(v, a, b, c, d, e, f, g) |
| #define | _VA_ELEM9(v, a, b, c, d, e, f, g, h) |
| #define | _VA_ELEM10(v, a, b, c, d, e, f, g, h, i) |
| #define | _VA_ELEM11(v, a, b, c, d, e, f, g, h, i, j) |
| #define | _VA_ELEM12(v, a, b, c, d, e, f, g, h, i, j, k) |
| #define | _VA_ELEM13(v, a, b, c, d, e, f, g, h, i, j, k, l) |
| #define | _VA_ELEM14(v, a, b, c, d, e, f, g, h, i, j, k, l, m) |
| #define | _VA_ELEM15(v, a, b, c, d, e, f, g, h, i, j, k, l, m, n) |
| #define | _VA_ELEM16(v, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) |
| #define | _VA_ELEM17(v, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) |
| #define | ELEM(...) |
Simple Math Macros | |
| #define | IS_EQ(a, b) |
| #define | IS_EQF(a, b) |
| #define | IS_EQT(a, b, c) |
| #define | IN_RANGE(a, b, c) |
| #define | IN_RANGE_INCL(a, b, c) |
| #define | DECIMAL_DIGITS_BOUND(t) |
Clamp Macros | |
| #define | CLAMP(a, b, c) |
| #define | CLAMP_MAX(a, c) |
| #define | CLAMP_MIN(a, b) |
Array Unpacking Macros | |
| #define | UNPACK2(a) |
| #define | UNPACK3(a) |
| #define | UNPACK4(a) |
| #define | UNPACK2_EX(pre, a, post) |
| #define | UNPACK3_EX(pre, a, post) |
| #define | UNPACK4_EX(pre, a, post) |
Array Macros | |
| #define | ARRAY_HAS_ITEM(arr_item, arr_start, arr_len) |
| #define | _VA_ARRAY_SET_ITEMS2(v, a) |
| #define | _VA_ARRAY_SET_ITEMS3(v, a, b) |
| #define | _VA_ARRAY_SET_ITEMS4(v, a, b, c) |
| #define | _VA_ARRAY_SET_ITEMS5(v, a, b, c, d) |
| #define | _VA_ARRAY_SET_ITEMS6(v, a, b, c, d, e) |
| #define | _VA_ARRAY_SET_ITEMS7(v, a, b, c, d, e, f) |
| #define | _VA_ARRAY_SET_ITEMS8(v, a, b, c, d, e, f, g) |
| #define | _VA_ARRAY_SET_ITEMS9(v, a, b, c, d, e, f, g, h) |
| #define | _VA_ARRAY_SET_ITEMS10(v, a, b, c, d, e, f, g, h, i) |
| #define | _VA_ARRAY_SET_ITEMS11(v, a, b, c, d, e, f, g, h, i, j) |
| #define | _VA_ARRAY_SET_ITEMS12(v, a, b, c, d, e, f, g, h, i, j, k) |
| #define | _VA_ARRAY_SET_ITEMS13(v, a, b, c, d, e, f, g, h, i, j, k, l) |
| #define | _VA_ARRAY_SET_ITEMS14(v, a, b, c, d, e, f, g, h, i, j, k, l, m) |
| #define | _VA_ARRAY_SET_ITEMS15(v, a, b, c, d, e, f, g, h, i, j, k, l, m, n) |
| #define | _VA_ARRAY_SET_ITEMS16(v, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) |
| #define | _VA_ARRAY_SET_ITEMS17(v, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) |
| #define | ARRAY_SET_ITEMS(...) |
Pointer Macros | |
| #define | POINTER_OFFSET(v, ofs) |
| #define | POINTER_FROM_INT(i) |
| #define | POINTER_AS_INT(i) |
| #define | POINTER_FROM_UINT(i) |
| #define | POINTER_AS_UINT(i) |
Struct After Macros | |
Typically used to copy/clear polymorphic structs which have a generic member at the start which needs to be left as-is. | |
| #define | OFFSETOF_STRUCT_AFTER(_struct, _member) |
| #define | MEMCPY_STRUCT_AFTER(struct_dst, struct_src, member) |
| #define | MEMSET_STRUCT_AFTER(struct_var, value, member) |
| #define | MEMCMP_STRUCT_AFTER_IS_ZERO_OR_EQUAL(struct_dst, struct_src, member) |
| #define | INIT_DEFAULT_STRUCT_AFTER(struct_dst, member) |
String Macros | |
| #define | STRINGIFY_ARG(x) |
| #define | STRINGIFY_APPEND(a, b) |
| #define | STRINGIFY(x) |
| #define | STREQ(a, b) |
| #define | STRCASEEQ(a, b) |
| #define | STREQLEN(a, b, n) |
| #define | STRCASEEQLEN(a, b, n) |
| #define | STRPREFIX(a, b) |
Unused Function/Argument Macros | |
| #define | UNUSED_FUNCTION(x) |
| #define | UNUSED_FUNCTION_WITH_RETURN_TYPE(rtype, x) |
| #define | _VA_UNUSED_VARS_1(a0) |
| #define | _VA_UNUSED_VARS_2(a0, b0) |
| #define | _VA_UNUSED_VARS_3(a0, b0, c0) |
| #define | _VA_UNUSED_VARS_4(a0, b0, c0, d0) |
| #define | _VA_UNUSED_VARS_5(a0, b0, c0, d0, e0) |
| #define | _VA_UNUSED_VARS_6(a0, b0, c0, d0, e0, f0) |
| #define | _VA_UNUSED_VARS_7(a0, b0, c0, d0, e0, f0, g0) |
| #define | _VA_UNUSED_VARS_8(a0, b0, c0, d0, e0, f0, g0, h0) |
| #define | _VA_UNUSED_VARS_9(a0, b0, c0, d0, e0, f0, g0, h0, i0) |
| #define | _VA_UNUSED_VARS_10(a0, b0, c0, d0, e0, f0, g0, h0, i0, j0) |
| #define | _VA_UNUSED_VARS_11(a0, b0, c0, d0, e0, f0, g0, h0, i0, j0, k0) |
| #define | _VA_UNUSED_VARS_12(a0, b0, c0, d0, e0, f0, g0, h0, i0, j0, k0, l0) |
| #define | _VA_UNUSED_VARS_13(a0, b0, c0, d0, e0, f0, g0, h0, i0, j0, k0, l0, m0) |
| #define | _VA_UNUSED_VARS_14(a0, b0, c0, d0, e0, f0, g0, h0, i0, j0, k0, l0, m0, n0) |
| #define | _VA_UNUSED_VARS_15(a0, b0, c0, d0, e0, f0, g0, h0, i0, j0, k0, l0, m0, n0, o0) |
| #define | _VA_UNUSED_VARS_16(a0, b0, c0, d0, e0, f0, g0, h0, i0, j0, k0, l0, m0, n0, o0, p0) |
| #define | UNUSED_VARS(...) |
| #define | UNUSED_VARS_NDEBUG(...) |
Branch Prediction Macros | |
| #define | LIKELY(x) |
| #define | UNLIKELY(x) |
Flag Macros | |
| #define | SET_FLAG_FROM_TEST(value, test, flag) |
Misc Macros | |
| #define | AT __FILE__ ":" STRINGIFY(__LINE__) |
| #define | EXPR_NOP(expr) |
| #define | BLI_NO_UNIQUE_ADDRESS [[no_unique_address]] |
Functions | |
| template<class T, size_t N> | |
| constexpr size_t | blender::ARRAY_SIZE (const T(&arg)[N]) noexcept |
| template<class T> | |
| constexpr std::enable_if_t< blenlib_internal::IsBoundedArray< T >::value, size_t > | blender::BOUNDED_ARRAY_TYPE_SIZE () noexcept |
Simple Math Macros | |
| constexpr int64_t | blender::is_power_of_2 (const int64_t x) |
| constexpr int64_t | blender::log2_floor (const int64_t x) |
| constexpr int64_t | blender::log2_ceil (const int64_t x) |
| constexpr int64_t | blender::power_of_2_max (const int64_t x) |
Struct After Macros | |
Typically used to copy/clear polymorphic structs which have a generic member at the start which needs to be left as-is. | |
| constexpr bool | blender::memory_is_zero (const void *data, const size_t size) |
| template<typename T> | |
| constexpr bool | blender::value_is_zero_memory (const T &value) |
| #define _VA_ARRAY_SET_ITEMS10 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i ) |
Definition at line 278 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS11 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j ) |
Definition at line 281 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS12 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k ) |
Definition at line 284 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS13 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l ) |
Definition at line 287 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS14 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m ) |
Definition at line 290 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS15 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n ) |
Definition at line 293 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS16 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n, | |||
| o ) |
Definition at line 296 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS17 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n, | |||
| o, | |||
| p ) |
Definition at line 299 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS2 | ( | v, | |
| a ) |
Definition at line 256 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS3 | ( | v, | |
| a, | |||
| b ) |
Definition at line 257 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS4 | ( | v, | |
| a, | |||
| b, | |||
| c ) |
Definition at line 260 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS5 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d ) |
Definition at line 263 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS6 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e ) |
Definition at line 266 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS7 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f ) |
Definition at line 269 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS8 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g ) |
Definition at line 272 of file blenkernel/intern/sound.cc.
| #define _VA_ARRAY_SET_ITEMS9 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h ) |
Definition at line 275 of file blenkernel/intern/sound.cc.
| #define _VA_ELEM10 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i ) |
| #define _VA_ELEM11 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j ) |
Definition at line 118 of file blenkernel/intern/sound.cc.
| #define _VA_ELEM12 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k ) |
Definition at line 120 of file blenkernel/intern/sound.cc.
| #define _VA_ELEM13 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l ) |
Definition at line 122 of file blenkernel/intern/sound.cc.
| #define _VA_ELEM14 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m ) |
Definition at line 124 of file blenkernel/intern/sound.cc.
| #define _VA_ELEM15 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n ) |
Definition at line 126 of file blenkernel/intern/sound.cc.
| #define _VA_ELEM16 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n, | |||
| o ) |
Definition at line 128 of file blenkernel/intern/sound.cc.
| #define _VA_ELEM17 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n, | |||
| o, | |||
| p ) |
Definition at line 130 of file blenkernel/intern/sound.cc.
| #define _VA_ELEM2 | ( | v, | |
| a ) |
Definition at line 101 of file blenkernel/intern/sound.cc.
| #define _VA_ELEM3 | ( | v, | |
| a, | |||
| b ) |
Definition at line 102 of file blenkernel/intern/sound.cc.
| #define _VA_ELEM4 | ( | v, | |
| a, | |||
| b, | |||
| c ) |
| #define _VA_ELEM5 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d ) |
| #define _VA_ELEM6 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e ) |
| #define _VA_ELEM7 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f ) |
| #define _VA_ELEM8 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g ) |
| #define _VA_ELEM9 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h ) |
| #define _VA_UNUSED_VARS_1 | ( | a0 | ) |
UNUSED_VARS#(a, ...): quiet unused warnings
Definition at line 493 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_10 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0, | |||
| e0, | |||
| f0, | |||
| g0, | |||
| h0, | |||
| i0, | |||
| j0 ) |
Definition at line 506 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_11 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0, | |||
| e0, | |||
| f0, | |||
| g0, | |||
| h0, | |||
| i0, | |||
| j0, | |||
| k0 ) |
Definition at line 508 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_12 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0, | |||
| e0, | |||
| f0, | |||
| g0, | |||
| h0, | |||
| i0, | |||
| j0, | |||
| k0, | |||
| l0 ) |
Definition at line 510 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_13 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0, | |||
| e0, | |||
| f0, | |||
| g0, | |||
| h0, | |||
| i0, | |||
| j0, | |||
| k0, | |||
| l0, | |||
| m0 ) |
Definition at line 512 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_14 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0, | |||
| e0, | |||
| f0, | |||
| g0, | |||
| h0, | |||
| i0, | |||
| j0, | |||
| k0, | |||
| l0, | |||
| m0, | |||
| n0 ) |
Definition at line 514 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_15 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0, | |||
| e0, | |||
| f0, | |||
| g0, | |||
| h0, | |||
| i0, | |||
| j0, | |||
| k0, | |||
| l0, | |||
| m0, | |||
| n0, | |||
| o0 ) |
Definition at line 516 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_16 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0, | |||
| e0, | |||
| f0, | |||
| g0, | |||
| h0, | |||
| i0, | |||
| j0, | |||
| k0, | |||
| l0, | |||
| m0, | |||
| n0, | |||
| o0, | |||
| p0 ) |
Definition at line 518 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_2 | ( | a0, | |
| b0 ) |
Definition at line 494 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_3 | ( | a0, | |
| b0, | |||
| c0 ) |
Definition at line 495 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_4 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0 ) |
Definition at line 496 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_5 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0, | |||
| e0 ) |
Definition at line 497 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_6 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0, | |||
| e0, | |||
| f0 ) |
Definition at line 498 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_7 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0, | |||
| e0, | |||
| f0, | |||
| g0 ) |
Definition at line 500 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_8 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0, | |||
| e0, | |||
| f0, | |||
| g0, | |||
| h0 ) |
Definition at line 502 of file blenkernel/intern/sound.cc.
| #define _VA_UNUSED_VARS_9 | ( | a0, | |
| b0, | |||
| c0, | |||
| d0, | |||
| e0, | |||
| f0, | |||
| g0, | |||
| h0, | |||
| i0 ) |
Definition at line 504 of file blenkernel/intern/sound.cc.
| #define ARRAY_HAS_ITEM | ( | arr_item, | |
| arr_start, | |||
| arr_len ) |
Definition at line 248 of file blenkernel/intern/sound.cc.
| #define ARRAY_SET_ITEMS | ( | ... | ) |
Definition at line 304 of file blenkernel/intern/sound.cc.
| #define AT __FILE__ ":" STRINGIFY(__LINE__) |
Useful for debugging.
Definition at line 575 of file blenkernel/intern/sound.cc.
| #define BLI_NO_UNIQUE_ADDRESS [[no_unique_address]] |
Definition at line 589 of file blenkernel/intern/sound.cc.
| #define CLAMP | ( | a, | |
| b, | |||
| c ) |
Definition at line 200 of file blenkernel/intern/sound.cc.
| #define CLAMP_MAX | ( | a, | |
| c ) |
Definition at line 211 of file blenkernel/intern/sound.cc.
| #define CLAMP_MIN | ( | a, | |
| b ) |
Definition at line 219 of file blenkernel/intern/sound.cc.
| #define DECIMAL_DIGITS_BOUND | ( | t | ) |
Expands to an integer constant expression evaluating to a close upper bound on the number the number of decimal digits in a value expressible in the integer type given by the argument (if it is a type name) or the integer type of the argument (if it is an expression). The meaning of the resulting expression is unspecified for other arguments. i.e: DECIMAL_DIGITS_BOUND(uchar) is equal to 3.
Definition at line 168 of file blenkernel/intern/sound.cc.
| #define ELEM | ( | ... | ) |
Definition at line 135 of file blenkernel/intern/sound.cc.
| #define EXPR_NOP | ( | expr | ) |
No-op for expressions we don't want to instantiate, but must remain valid.
Definition at line 578 of file blenkernel/intern/sound.cc.
| #define IN_RANGE | ( | a, | |
| b, | |||
| c ) |
Definition at line 156 of file blenkernel/intern/sound.cc.
| #define IN_RANGE_INCL | ( | a, | |
| b, | |||
| c ) |
Definition at line 157 of file blenkernel/intern/sound.cc.
| #define INIT_DEFAULT_STRUCT_AFTER | ( | struct_dst, | |
| member ) |
Definition at line 422 of file blenkernel/intern/sound.cc.
Definition at line 31 of file blenkernel/intern/sound.cc.
| #define IS_EQ | ( | a, | |
| b ) |
Definition at line 145 of file blenkernel/intern/sound.cc.
| #define IS_EQF | ( | a, | |
| b ) |
Definition at line 150 of file blenkernel/intern/sound.cc.
| #define IS_EQT | ( | a, | |
| b, | |||
| c ) |
Definition at line 155 of file blenkernel/intern/sound.cc.
| #define LIKELY | ( | x | ) |
Definition at line 546 of file blenkernel/intern/sound.cc.
| #define MEMCMP_STRUCT_AFTER_IS_ZERO_OR_EQUAL | ( | struct_dst, | |
| struct_src, | |||
| member ) |
Definition at line 415 of file blenkernel/intern/sound.cc.
| #define MEMCPY_STRUCT_AFTER | ( | struct_dst, | |
| struct_src, | |||
| member ) |
memcpy helper, skipping the first part of a struct, ensures 'struct_dst' isn't const and the offset can be computed at compile time. This isn't inclusive, the value of member isn't copied.
Definition at line 347 of file blenkernel/intern/sound.cc.
| #define MEMSET_STRUCT_AFTER | ( | struct_var, | |
| value, | |||
| member ) |
Definition at line 357 of file blenkernel/intern/sound.cc.
| #define OFFSETOF_STRUCT_AFTER | ( | _struct, | |
| _member ) |
Performs offsetof(decltype(data), member) + sizeof((DNA, RNA and .blend access)->member) for non-gcc compilers.
Definition at line 338 of file blenkernel/intern/sound.cc.
| #define POINTER_AS_INT | ( | i | ) |
Definition at line 322 of file blenkernel/intern/sound.cc.
| #define POINTER_AS_UINT | ( | i | ) |
Definition at line 325 of file blenkernel/intern/sound.cc.
| #define POINTER_FROM_INT | ( | i | ) |
Definition at line 321 of file blenkernel/intern/sound.cc.
| #define POINTER_FROM_UINT | ( | i | ) |
Definition at line 324 of file blenkernel/intern/sound.cc.
| #define POINTER_OFFSET | ( | v, | |
| ofs ) |
Definition at line 316 of file blenkernel/intern/sound.cc.
| #define SET_FLAG_FROM_TEST | ( | value, | |
| test, | |||
| flag ) |
Definition at line 557 of file blenkernel/intern/sound.cc.
| #define SHIFT3 | ( | type, | |
| a, | |||
| b, | |||
| c ) |
Definition at line 62 of file blenkernel/intern/sound.cc.
| #define SHIFT4 | ( | type, | |
| a, | |||
| b, | |||
| c, | |||
| d ) |
Definition at line 75 of file blenkernel/intern/sound.cc.
| #define STRCASEEQ | ( | a, | |
| b ) |
Definition at line 452 of file blenkernel/intern/sound.cc.
| #define STRCASEEQLEN | ( | a, | |
| b, | |||
| n ) |
Definition at line 454 of file blenkernel/intern/sound.cc.
| #define STREQ | ( | a, | |
| b ) |
Definition at line 451 of file blenkernel/intern/sound.cc.
| #define STREQLEN | ( | a, | |
| b, | |||
| n ) |
Definition at line 453 of file blenkernel/intern/sound.cc.
| #define STRINGIFY | ( | x | ) |
Definition at line 443 of file blenkernel/intern/sound.cc.
| #define STRINGIFY_APPEND | ( | a, | |
| b ) |
Definition at line 442 of file blenkernel/intern/sound.cc.
| #define STRINGIFY_ARG | ( | x | ) |
Definition at line 441 of file blenkernel/intern/sound.cc.
| #define STRPREFIX | ( | a, | |
| b ) |
Definition at line 456 of file blenkernel/intern/sound.cc.
| #define SWAP | ( | type, | |
| a, | |||
| b ) |
Definition at line 50 of file blenkernel/intern/sound.cc.
| #define UNLIKELY | ( | x | ) |
Definition at line 547 of file blenkernel/intern/sound.cc.
| #define UNPACK2 | ( | a | ) |
Definition at line 234 of file blenkernel/intern/sound.cc.
| #define UNPACK2_EX | ( | pre, | |
| a, | |||
| post ) |
Definition at line 238 of file blenkernel/intern/sound.cc.
| #define UNPACK3 | ( | a | ) |
Definition at line 235 of file blenkernel/intern/sound.cc.
| #define UNPACK3_EX | ( | pre, | |
| a, | |||
| post ) |
Definition at line 239 of file blenkernel/intern/sound.cc.
| #define UNPACK4 | ( | a | ) |
Definition at line 236 of file blenkernel/intern/sound.cc.
| #define UNPACK4_EX | ( | pre, | |
| a, | |||
| post ) |
Definition at line 240 of file blenkernel/intern/sound.cc.
| #define UNUSED_FUNCTION | ( | x | ) |
WARNING: this doesn't warn when returning pointer types (because of the placement of *). Use UNUSED_FUNCTION_WITH_RETURN_TYPE instead in this case.
Definition at line 471 of file blenkernel/intern/sound.cc.
| #define UNUSED_FUNCTION_WITH_RETURN_TYPE | ( | rtype, | |
| x ) |
Definition at line 477 of file blenkernel/intern/sound.cc.
| #define UNUSED_VARS | ( | ... | ) |
Definition at line 522 of file blenkernel/intern/sound.cc.
| #define UNUSED_VARS_NDEBUG | ( | ... | ) |
Definition at line 526 of file blenkernel/intern/sound.cc.