diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-03-09 20:36:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-03-09 20:36:23 +0300 |
commit | 1708ac07231cd222f269d3c0ddb9e22aba7aeec4 (patch) | |
tree | f4e8736ae34fac2e614f127d4ceae24a9454410a /source/blender/blenlib/BLI_path_util.h | |
parent | 26272d4c58de0b80056092de190bb35b44532f2e (diff) |
rename some functions to use easier to understand names.
'BLI_makestringcode' --> 'BLI_path_rel'
'BLI_convertstringcwd' --> 'BLI_path_cwd'
'BLI_convertstringframe' --> 'BLI_path_frame'
'BLI_convertstringframe_range' --> 'BLI_path_frame_range'
'BLI_make_cwdpath' --> 'BLI_path_cwd'
Diffstat (limited to 'source/blender/blenlib/BLI_path_util.h')
-rw-r--r-- | source/blender/blenlib/BLI_path_util.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_path_util.h b/source/blender/blenlib/BLI_path_util.h index 36a540e4d97..91e0bbb138b 100644 --- a/source/blender/blenlib/BLI_path_util.h +++ b/source/blender/blenlib/BLI_path_util.h @@ -96,12 +96,12 @@ int BLI_has_parent(char *path); * @a framenum The framenumber to replace the frame code with. * @retval Returns true if the path was relative (started with "//"). */ -int BLI_convertstringcode(char *path, const char *basepath); -int BLI_convertstringframe(char *path, int frame, int digits); -int BLI_convertstringframe_range(char *path, int sta, int end, int digits); -int BLI_convertstringcwd(char *path); +int BLI_path_abs(char *path, const char *basepath); +int BLI_path_frame(char *path, int frame, int digits); +int BLI_path_frame_range(char *path, int sta, int end, int digits); +int BLI_path_cwd(char *path); -void BLI_makestringcode(const char *relfile, char *file); +void BLI_path_rel(char *file, const char *relfile); /** * Change every @a from in @a string into @a to. The |