[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41938] trunk/blender/source/blender/ blenlib/intern/BLI_mempool.c: BLI_mempool redefined causing compile time error, removing duplicate typedef

Antony Riakiotakis kalast at gmail.com
Wed Nov 16 23:20:19 CET 2011


Revision: 41938
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41938
Author:   psy-fi
Date:     2011-11-16 22:20:17 +0000 (Wed, 16 Nov 2011)
Log Message:
-----------
BLI_mempool redefined causing compile time error, removing duplicate typedef

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/intern/BLI_mempool.c

Modified: trunk/blender/source/blender/blenlib/intern/BLI_mempool.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/BLI_mempool.c	2011-11-16 20:53:00 UTC (rev 41937)
+++ trunk/blender/source/blender/blenlib/intern/BLI_mempool.c	2011-11-16 22:20:17 UTC (rev 41938)
@@ -66,7 +66,7 @@
 	void *data;
 } BLI_mempool_chunk;
 
-typedef struct BLI_mempool {
+struct BLI_mempool {
 	struct ListBase chunks;
 	int esize, csize, pchunk;        /* size of elements and chunks in bytes
 	                                  * and number of elements per chunk*/
@@ -76,7 +76,7 @@
 	BLI_freenode *free;	             /* free element list. Interleaved into chunk datas.*/
 	int totalloc, totused;           /* total number of elements allocated in total,
 	                                  * and currently in use*/
-} BLI_mempool;
+};
 
 #define MEMPOOL_ELEM_SIZE_MIN (sizeof(void *) * 2)
 




More information about the Bf-blender-cvs mailing list