diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-12-10 13:08:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-12-10 13:08:10 +0300 |
commit | 9a990eab0dd087e9f53c0df63fdc0c274a8a2627 (patch) | |
tree | 73ad4c3b40782f71d9f08adb1bac16aaf6fa2266 /source/blender/blenlib/BLI_linklist_stack.h | |
parent | f9047c3f8c72f1a15a4c051b507306d308f44646 (diff) |
Use 'peek' instead of 'last' for stack macro
Diffstat (limited to 'source/blender/blenlib/BLI_linklist_stack.h')
-rw-r--r-- | source/blender/blenlib/BLI_linklist_stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_linklist_stack.h b/source/blender/blenlib/BLI_linklist_stack.h index c5f9be927d3..dd92dcec936 100644 --- a/source/blender/blenlib/BLI_linklist_stack.h +++ b/source/blender/blenlib/BLI_linklist_stack.h @@ -161,7 +161,7 @@ (_BLI_SMALLSTACK_CAST(var_src) ((_##var_src##_stack) ? \ (_BLI_SMALLSTACK_DEL_EX(var_src, var_dst), (_##var_dst##_free->link)) : NULL)) -#define BLI_SMALLSTACK_LAST(var) \ +#define BLI_SMALLSTACK_PEEK(var) \ (_BLI_SMALLSTACK_CAST(var) ((_##var##_stack) ? \ _##var##_stack->link : NULL)) |