diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2014-07-04 16:14:06 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-07-04 16:14:06 +0400 |
commit | e3c8cf0a9ea00ef6c7a63b5fc8351f5f9be1ac8f (patch) | |
tree | ada2dce46e6e94aebb24cab35aed7c5e2a30fc98 /source/blender/imbuf/intern/metadata.c | |
parent | 85c4feab027238bb9dbf7fa727cb608052ec79d5 (diff) |
Add (r)partition funcs to BLI_string, to get left-most/right-most first occurence of delimiters.
Inspired by Python (r)partition str functions. Also added some Gtest cases for those new funcs.
Reviewed by Campbell Barton, many thanks!
Diffstat (limited to 'source/blender/imbuf/intern/metadata.c')
-rw-r--r-- | source/blender/imbuf/intern/metadata.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/metadata.c b/source/blender/imbuf/intern/metadata.c index 2b4367528dd..797d34d118b 100644 --- a/source/blender/imbuf/intern/metadata.c +++ b/source/blender/imbuf/intern/metadata.c @@ -33,6 +33,7 @@ #include <stdlib.h> #include <string.h> +#include "BLI_utildefines.h" #include "BLI_string.h" #include "MEM_guardedalloc.h" |