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>2013-01-19 07:51:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-19 07:51:17 +0400
commit9a4da5a2f1adea4928d94b61c0f99b2e8a3c7c9f (patch)
tree6c3db0f3f1eb6ad8d56ca89cccf8974e3d76dc44 /source/blender/blenlib/BLI_mempool.h
parentbf355362b11b3aaad50f2de881d67bad0209f51e (diff)
utility function to get a mempool as a pointer array.
Diffstat (limited to 'source/blender/blenlib/BLI_mempool.h')
-rw-r--r--source/blender/blenlib/BLI_mempool.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_mempool.h b/source/blender/blenlib/BLI_mempool.h
index 8fd2166e6f8..20ea89f3abf 100644
--- a/source/blender/blenlib/BLI_mempool.h
+++ b/source/blender/blenlib/BLI_mempool.h
@@ -86,6 +86,11 @@ __attribute__((warn_unused_result))
__attribute__((nonnull(1)))
#endif
;
+void BLI_mempool_as_array(BLI_mempool *pool, void **data)
+#ifdef __GNUC__
+__attribute__((nonnull(1)))
+#endif
+;
/** iteration stuff. note: this may easy to produce bugs with **/
/* private structure */