|
Blender V5.3
|
Go to the source code of this file.
Macros | |
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) |
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(...) |
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) |
Functions | |
Array Macros | |
| template<class T, size_t N> | |
| constexpr size_t | ARRAY_SIZE (const T(&arg)[N]) noexcept |
Utility defines (avoid depending on BLI_utildefines.hh).
Definition in file GHOST_utildefines.hh.
| #define _VA_ELEM10 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i ) |
Definition at line 69 of file GHOST_utildefines.hh.
| #define _VA_ELEM11 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j ) |
Definition at line 71 of file GHOST_utildefines.hh.
| #define _VA_ELEM12 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k ) |
Definition at line 73 of file GHOST_utildefines.hh.
| #define _VA_ELEM13 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l ) |
Definition at line 75 of file GHOST_utildefines.hh.
| #define _VA_ELEM14 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m ) |
Definition at line 77 of file GHOST_utildefines.hh.
| #define _VA_ELEM15 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n ) |
Definition at line 79 of file GHOST_utildefines.hh.
| #define _VA_ELEM16 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n, | |||
| o ) |
Definition at line 81 of file GHOST_utildefines.hh.
| #define _VA_ELEM17 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n, | |||
| o, | |||
| p ) |
Definition at line 83 of file GHOST_utildefines.hh.
| #define _VA_ELEM2 | ( | v, | |
| a ) |
Definition at line 54 of file GHOST_utildefines.hh.
| #define _VA_ELEM3 | ( | v, | |
| a, | |||
| b ) |
Definition at line 55 of file GHOST_utildefines.hh.
| #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 ELEM | ( | ... | ) |
Definition at line 88 of file GHOST_utildefines.hh.
| #define STRCASEEQ | ( | a, | |
| b ) |
Definition at line 113 of file GHOST_utildefines.hh.
| #define STRCASEEQLEN | ( | a, | |
| b, | |||
| n ) |
Definition at line 115 of file GHOST_utildefines.hh.
| #define STREQ | ( | a, | |
| b ) |
Definition at line 112 of file GHOST_utildefines.hh.
| #define STREQLEN | ( | a, | |
| b, | |||
| n ) |
Definition at line 114 of file GHOST_utildefines.hh.
| #define STRINGIFY | ( | x | ) |
Definition at line 104 of file GHOST_utildefines.hh.
| #define STRINGIFY_APPEND | ( | a, | |
| b ) |
Definition at line 103 of file GHOST_utildefines.hh.
| #define STRINGIFY_ARG | ( | x | ) |
Definition at line 102 of file GHOST_utildefines.hh.
| #define STRPREFIX | ( | a, | |
| b ) |
Definition at line 117 of file GHOST_utildefines.hh.
| #define UNPACK2 | ( | a | ) |
Definition at line 22 of file GHOST_utildefines.hh.
| #define UNPACK2_EX | ( | pre, | |
| a, | |||
| post ) |
Definition at line 26 of file GHOST_utildefines.hh.
| #define UNPACK3 | ( | a | ) |
Definition at line 23 of file GHOST_utildefines.hh.
| #define UNPACK3_EX | ( | pre, | |
| a, | |||
| post ) |
Definition at line 27 of file GHOST_utildefines.hh.
| #define UNPACK4 | ( | a | ) |
Definition at line 24 of file GHOST_utildefines.hh.
| #define UNPACK4_EX | ( | pre, | |
| a, | |||
| post ) |
Definition at line 28 of file GHOST_utildefines.hh.
Definition at line 37 of file GHOST_utildefines.hh.
References ARRAY_SIZE(), N, and T.
Referenced by ARRAY_SIZE(), data_device_handle_drop(), data_device_handle_enter(), dnd_events(), GHOST_WindowCSD_LayoutFromString(), GHOST_WindowX11::GHOST_WindowX11(), gwl_registry_handler_interface_slot_max(), gwl_window_pending_actions_handle(), GHOST_WindowWayland::outputs_changed_update_scale(), GHOST_SystemX11::processEvents(), system_clipboard_put(), system_clipboard_put_primary_selection(), system_clipboard_text_mime_type(), and touch_seat_handle_frame().