diff options
author | Andre Susano Pinto <andresusanopinto@gmail.com> | 2009-08-07 17:49:15 +0400 |
---|---|---|
committer | Andre Susano Pinto <andresusanopinto@gmail.com> | 2009-08-07 17:49:15 +0400 |
commit | 51cad12120a673959abfbb1d4445edb782b5f13b (patch) | |
tree | b4947b13ef8e1e0082634c0edf07f7ef65a52ba4 /source/blender/blenlib/BLI_memarena.h | |
parent | 20c9f2e8abf5d81e5b8a340b12ff8f6f66eee2ca (diff) |
*BLI_memarena support for any power of two alignment
*some simd stuff on bvh
Diffstat (limited to 'source/blender/blenlib/BLI_memarena.h')
-rw-r--r-- | source/blender/blenlib/BLI_memarena.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_memarena.h b/source/blender/blenlib/BLI_memarena.h index 4b955e9fa20..fcf6ae02900 100644 --- a/source/blender/blenlib/BLI_memarena.h +++ b/source/blender/blenlib/BLI_memarena.h @@ -57,6 +57,8 @@ void BLI_memarena_free (struct MemArena *ma); void BLI_memarena_use_malloc (struct MemArena *ma); void BLI_memarena_use_calloc (struct MemArena *ma); +void BLI_memarena_use_align(struct MemArena *ma, int align); + void* BLI_memarena_alloc (struct MemArena *ma, int size); #ifdef __cplusplus |