[Bf-blender-cvs] [9a990ea] master: Use 'peek' instead of 'last' for stack macro
Campbell Barton
noreply at git.blender.org
Thu Dec 10 11:15:28 CET 2015
Commit: 9a990eab0dd087e9f53c0df63fdc0c274a8a2627
Author: Campbell Barton
Date: Thu Dec 10 21:08:10 2015 +1100
Branches: master
https://developer.blender.org/rB9a990eab0dd087e9f53c0df63fdc0c274a8a2627
Use 'peek' instead of 'last' for stack macro
===================================================================
M source/blender/blenlib/BLI_linklist_stack.h
===================================================================
diff --git a/source/blender/blenlib/BLI_linklist_stack.h b/source/blender/blenlib/BLI_linklist_stack.h
index c5f9be9..dd92dce 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))
More information about the Bf-blender-cvs
mailing list