diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 17:54:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-21 23:30:08 +0300 |
commit | cda4cd0705f92dd0aac760071a4f71b98935d19f (patch) | |
tree | 25c60c32bbb85f695bbdf8a1acd8e1addc62c684 /source/blender/blenlib/intern/BLI_mempool.c | |
parent | 0ac990d088d553c27f5360f62e142e99f087890a (diff) |
Cleanup: comments (long lines) in blenlib
Diffstat (limited to 'source/blender/blenlib/intern/BLI_mempool.c')
-rw-r--r-- | source/blender/blenlib/intern/BLI_mempool.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/BLI_mempool.c b/source/blender/blenlib/intern/BLI_mempool.c index 4860fa6c669..5765540a8f1 100644 --- a/source/blender/blenlib/intern/BLI_mempool.c +++ b/source/blender/blenlib/intern/BLI_mempool.c @@ -63,7 +63,8 @@ /** * Important that this value is an is _not_ aligned with ``sizeof(void *)``. - * So having a pointer to 2/4/8... aligned memory is enough to ensure the freeword will never be used. + * So having a pointer to 2/4/8... aligned memory is enough to ensure + * the freeword will never be used. * To be safe, use a word thats the same in both directions. */ #define FREEWORD \ @@ -547,8 +548,10 @@ void BLI_mempool_iternew(BLI_mempool *pool, BLI_mempool_iter *iter) /** * Initialize an array of mempool iterators, #BLI_MEMPOOL_ALLOW_ITER flag must be set. * - * This is used in threaded code, to generate as much iterators as needed (each task should have its own), - * such that each iterator goes over its own single chunk, and only getting the next chunk to iterate over has to be + * This is used in threaded code, to generate as much iterators as needed + * (each task should have its own), + * such that each iterator goes over its own single chunk, + * and only getting the next chunk to iterate over has to be * protected against concurrency (which can be done in a lockless way). * * To be used when creating a task for each single item in the pool is totally overkill. |