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:
authorGeoffrey Bantle <hairbat@yahoo.com>2008-06-01 22:43:22 +0400
committerGeoffrey Bantle <hairbat@yahoo.com>2008-06-01 22:43:22 +0400
commit85e77e53ef29274d456ecfdb95ec2a60cb5253f1 (patch)
treebd167f47fe38a34c9c605fca3b641579c045d0b4 /source/blender/blenkernel/BKE_bmesh.h
parent33321d13d32a960be7e3aa7ee652ad4b23667d97 (diff)
-> Fix for last few commits
New memory allocator broke compilation on GCC/Linux. Fixed
Diffstat (limited to 'source/blender/blenkernel/BKE_bmesh.h')
-rw-r--r--source/blender/blenkernel/BKE_bmesh.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_bmesh.h b/source/blender/blenkernel/BKE_bmesh.h
index ab2fd34cd42..e44e9e02aaa 100644
--- a/source/blender/blenkernel/BKE_bmesh.h
+++ b/source/blender/blenkernel/BKE_bmesh.h
@@ -53,8 +53,12 @@ struct BME_Poly;
struct BME_Loop;
-struct BME_mempool;
-typedef struct BME_mempool BME_mempool;
+/*structure for fast memory allocation/frees*/
+typedef struct BME_mempool{
+ struct ListBase chunks;
+ int esize, csize, pchunk; /*size of elements and chunks in bytes and number of elements per chunk*/
+ struct BME_freenode *free; /*free element list. Interleaved into chunk datas.*/
+}BME_mempool;
/*Custom Data Types and defines
Eventual plan is to move almost everything to custom data and let caller