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:
authorDalai Felinto <dfelinto@gmail.com>2014-04-16 21:25:23 +0400
committerDalai Felinto <dfelinto@gmail.com>2014-05-03 03:56:16 +0400
commit56d8affe422a0e20037ee94c7d0d12747bbbb81d (patch)
tree99dc2d8898d00dffce512eeb767fb2e9b698f596 /source/blender/blenlib/BLI_path_util.h
parent0111f3505f0263a35a4196535db26365651d30e7 (diff)
BLI_path_suffix() - new path util functon to add a suffix to a filepath (before the extension)
Revision: D465 Reviewd by Campbell Barton
Diffstat (limited to 'source/blender/blenlib/BLI_path_util.h')
-rw-r--r--source/blender/blenlib/BLI_path_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_path_util.h b/source/blender/blenlib/BLI_path_util.h
index 6e77faf1204..3e98e2ceeae 100644
--- a/source/blender/blenlib/BLI_path_util.h
+++ b/source/blender/blenlib/BLI_path_util.h
@@ -172,6 +172,8 @@ void BLI_cleanup_unc_16(wchar_t *path_16);
void BLI_cleanup_unc(char *path_16, int maxlen);
#endif
+bool BLI_path_suffix(char *string, size_t maxlen, const char *suffix, const char *sep) ATTR_NONNULL();
+
/* path string comparisons: case-insensitive for Windows, case-sensitive otherwise */
#if defined(WIN32)
# define BLI_path_cmp BLI_strcasecmp