diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-07-30 19:40:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-07-30 19:40:47 +0400 |
commit | 099038a6f954bdd984117f2c4a1cafd786e152b9 (patch) | |
tree | e6dd82f4b80f207115e5ea3b506a9d728d17fd03 /source/blender/blenlib/BLI_path_util.h | |
parent | fa8d38da74946d3d08ecb4548db98eb2a855b096 (diff) |
BLI_path_utils: rename BLI_clean -> BLI_path_native_slash
Diffstat (limited to 'source/blender/blenlib/BLI_path_util.h')
-rw-r--r-- | source/blender/blenlib/BLI_path_util.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_path_util.h b/source/blender/blenlib/BLI_path_util.h index 244c308a05c..3d82480d050 100644 --- a/source/blender/blenlib/BLI_path_util.h +++ b/source/blender/blenlib/BLI_path_util.h @@ -111,6 +111,7 @@ const char *BLI_last_slash(const char *string) ATTR_NONNULL() ATTR_WARN_UNUSED_R int BLI_add_slash(char *string) ATTR_NONNULL(); void BLI_del_slash(char *string) ATTR_NONNULL(); const char *BLI_first_slash(const char *string) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT; +void BLI_path_native_slash(char *path) ATTR_NONNULL(); void BLI_getlastdir(const char *dir, char *last, const size_t maxlen); bool BLI_testextensie(const char *str, const char *ext) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT; @@ -128,9 +129,6 @@ int BLI_stringdec(const char *string, char *head, char *start, unsigned short *n void BLI_stringenc(char *string, const char *head, const char *tail, unsigned short numlen, int pic); int BLI_split_name_num(char *left, int *nr, const char *name, const char delim); -/* make sure path separators conform to system one */ -void BLI_clean(char *path) ATTR_NONNULL(); - /** * dir can be any input, like from buttons, and this function * converts it to a regular full path. |