diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-29 19:00:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-29 19:00:37 +0400 |
commit | 7cc206ddca5fd240f87210d6dfb311c81ca4ac65 (patch) | |
tree | a4dfc6d6dd1a21c9016390d339855a19d16ee335 /source/blender/blenlib/intern/BLI_mempool.c | |
parent | 0cec655b290b1151087b86c37cc1f51b7d58f261 (diff) |
Code Cleanup: remove non existing function declarations.
added some missing functions too - which are not used yep but should be there for api completeness.
* CDDM_set_mloop
* CDDM_set_mpoly
* BLI_mempool_count
Diffstat (limited to 'source/blender/blenlib/intern/BLI_mempool.c')
-rw-r--r-- | source/blender/blenlib/intern/BLI_mempool.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/BLI_mempool.c b/source/blender/blenlib/intern/BLI_mempool.c index 6abe6c7c8be..aac36e5b79b 100644 --- a/source/blender/blenlib/intern/BLI_mempool.c +++ b/source/blender/blenlib/intern/BLI_mempool.c @@ -241,6 +241,11 @@ void BLI_mempool_free(BLI_mempool *pool, void *addr) } } +int BLI_mempool_count(BLI_mempool *pool) +{ + return pool->totused; +} + void *BLI_mempool_findelem(BLI_mempool *pool, int index) { if (!pool->allow_iter) { |