Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-12-10 13:08:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-12-10 13:08:10 +0300
commit9a990eab0dd087e9f53c0df63fdc0c274a8a2627 (patch)
tree73ad4c3b40782f71d9f08adb1bac16aaf6fa2266
parentf9047c3f8c72f1a15a4c051b507306d308f44646 (diff)
Use 'peek' instead of 'last' for stack macro
-rw-r--r--source/blender/blenlib/BLI_linklist_stack.h2
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))