[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44827] trunk/blender/source/blender/ blenlib/intern/BLI_heap.c: Removing SWAP macro define from BLI_heap.c, already present in BLI_utildefines.h, giving compile error.
Bastien Montagne
montagne29 at wanadoo.fr
Mon Mar 12 10:20:46 CET 2012
Revision: 44827
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44827
Author: mont29
Date: 2012-03-12 09:20:38 +0000 (Mon, 12 Mar 2012)
Log Message:
-----------
Removing SWAP macro define from BLI_heap.c, already present in BLI_utildefines.h, giving compile error.
Modified Paths:
--------------
trunk/blender/source/blender/blenlib/intern/BLI_heap.c
Modified: trunk/blender/source/blender/blenlib/intern/BLI_heap.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/BLI_heap.c 2012-03-12 08:46:53 UTC (rev 44826)
+++ trunk/blender/source/blender/blenlib/intern/BLI_heap.c 2012-03-12 09:20:38 UTC (rev 44827)
@@ -54,8 +54,6 @@
HeapNode **tree;
};
-#define SWAP(type, a, b) \
- { type sw_ap; sw_ap = (a); (a) = (b); (b) = sw_ap; }
#define HEAP_PARENT(i) ((i - 1) >> 1)
#define HEAP_LEFT(i) ((i << 1) + 1)
#define HEAP_RIGHT(i) ((i << 1) + 2)
More information about the Bf-blender-cvs
mailing list