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>2011-11-27 05:20:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-27 05:20:08 +0400
commit8423b1b33a51ecc45480d664e4bba7e488eac704 (patch)
tree16ded9fede452f793cdbb58c65b009615783ea1f /source/blender/blenlib/BLI_mempool.h
parent65cf6256f5e08d8fb1897c3f67375aa67b72a523 (diff)
mempool utility function to get the element at an index BLI_mempool_findelem(), not used yet.
Diffstat (limited to 'source/blender/blenlib/BLI_mempool.h')
-rw-r--r--source/blender/blenlib/BLI_mempool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_mempool.h b/source/blender/blenlib/BLI_mempool.h
index f98919fadd3..a46ba78aef0 100644
--- a/source/blender/blenlib/BLI_mempool.h
+++ b/source/blender/blenlib/BLI_mempool.h
@@ -55,6 +55,7 @@ void *BLI_mempool_calloc(BLI_mempool *pool);
void BLI_mempool_free(BLI_mempool *pool, void *addr);
void BLI_mempool_destroy(BLI_mempool *pool);
int BLI_mempool_count(BLI_mempool *pool);
+void *BLI_mempool_findelem(BLI_mempool *pool, const int index);
/** iteration stuff. note: this may easy to produce bugs with **/
/*private structure*/