diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-11-13 01:35:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-11-13 01:35:58 +0300 |
commit | a35345f8bab9502ba10920bf93a2547ef9d35f4c (patch) | |
tree | 6c725ccfc33767c007c998c65017d8b7952be80b /source/blender/blenlib/BLI_linklist.h | |
parent | 8449f0d77640c466acbda7d6ceeb71bc48317b44 (diff) |
2 utility functions added for projection painting.
* BLI_linklist_index() - to get an items index in a LinkList
* BLI_memarena_use_malloc() - BLI_memarena_use_calloc alredy existed but there was no way to switch back to malloc.
also added texnodes to cmake
Diffstat (limited to 'source/blender/blenlib/BLI_linklist.h')
-rw-r--r-- | source/blender/blenlib/BLI_linklist.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_linklist.h b/source/blender/blenlib/BLI_linklist.h index e840ffd167a..ed202c11429 100644 --- a/source/blender/blenlib/BLI_linklist.h +++ b/source/blender/blenlib/BLI_linklist.h @@ -45,6 +45,7 @@ typedef struct LinkNode { } LinkNode; int BLI_linklist_length (struct LinkNode *list); +int BLI_linklist_index (struct LinkNode *list, void *ptr); void BLI_linklist_reverse (struct LinkNode **listp); |