Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-12-15 08:44:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-15 08:44:10 +0400
commit865b547b4426fa353aa9e1473b66c3af0d53ea4d (patch)
tree3a107536da0503afdd23ba4c69f9e6c92b29752e /source/blender/blenlib/BLI_listbase.h
parentcc32540c48ebf53a66b2f0df6ff8d0ca23dc4785 (diff)
add checks to style checker script for 'a . b' and 'a []'
also use BLI_findindex for modifiers_indexInObject
Diffstat (limited to 'source/blender/blenlib/BLI_listbase.h')
-rw-r--r--source/blender/blenlib/BLI_listbase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_listbase.h b/source/blender/blenlib/BLI_listbase.h
index 1330a74bea3..d06956e39de 100644
--- a/source/blender/blenlib/BLI_listbase.h
+++ b/source/blender/blenlib/BLI_listbase.h
@@ -41,7 +41,7 @@ extern "C" {
#endif
void BLI_insertlink(struct ListBase *listbase, void *vprevlink, void *vnewlink);
-int BLI_findindex(const struct ListBase *listbase, void *vlink);
+int BLI_findindex(const struct ListBase *listbase, const void *vlink);
int BLI_findstringindex(const struct ListBase *listbase, const char *id, const int offset);
/* find forwards */
@@ -79,4 +79,4 @@ struct LinkData *BLI_genericNodeN(void *data);
}
#endif
-#endif
+#endif /* __BLI_LISTBASE_H__ */