diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-31 01:17:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-31 01:17:38 +0400 |
commit | 4e7b18876c3e995f030f865072cdad0e0ca6ea94 (patch) | |
tree | f50066a35a7b826feec11fb751753fa2c93fb283 /source/blender/blenlib/BLI_mempool.h | |
parent | 00025c74b49bb32b1803858b2d7731751a074514 (diff) |
style cleanup
Diffstat (limited to 'source/blender/blenlib/BLI_mempool.h')
-rw-r--r-- | source/blender/blenlib/BLI_mempool.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_mempool.h b/source/blender/blenlib/BLI_mempool.h index 20ea89f3abf..a1cbad73239 100644 --- a/source/blender/blenlib/BLI_mempool.h +++ b/source/blender/blenlib/BLI_mempool.h @@ -92,6 +92,13 @@ __attribute__((nonnull(1))) #endif ; +void *BLI_mempool_as_arrayN(BLI_mempool *pool, const char *allocstr) +#ifdef __GNUC__ +__attribute__((warn_unused_result)) +__attribute__((nonnull(1, 2))) +#endif +; + /** iteration stuff. note: this may easy to produce bugs with **/ /* private structure */ typedef struct BLI_mempool_iter { |