|
Blender V5.0
|
Single link-list utility macros. (header only API). More...
Go to the source code of this file.
Macros | |
| #define | BLI_LINKS_PREPEND(list, link) |
| #define | BLI_LINKS_APPEND(list, link) |
| #define | BLI_LINKS_INSERT_AFTER(list, node, link) |
| #define | BLI_LINKS_FREE(list) |
Single link-list utility macros. (header only API).
Use this API when the structure defines its own next pointer and a double linked list such as ListBase isn't needed.
Definition in file BLI_link_utils.h.
| #define BLI_LINKS_APPEND | ( | list, | |
| link ) |
Definition at line 24 of file BLI_link_utils.h.
Referenced by blender::draw::gpencil::grease_pencil_layer_cache_add().
| #define BLI_LINKS_FREE | ( | list | ) |
Definition at line 48 of file BLI_link_utils.h.
| #define BLI_LINKS_INSERT_AFTER | ( | list, | |
| node, | |||
| link ) |
Definition at line 38 of file BLI_link_utils.h.
| #define BLI_LINKS_PREPEND | ( | list, | |
| link ) |
Definition at line 15 of file BLI_link_utils.h.
Referenced by UI_view2d_text_cache_add(), and UI_view2d_text_cache_add_rectf().