diff options
Diffstat (limited to 'source/blender/blenloader/BLO_readfile.h')
-rw-r--r-- | source/blender/blenloader/BLO_readfile.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index 6fdcf7065c3..5f881c0855c 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -195,10 +195,13 @@ BLO_blendhandle_close(BlendHandle *bh); bool BLO_has_bfile_extension(const char *str); /** - * return ok when a blenderfile, in dir is the filename, - * in group the type of libdata + * \param path the full path to explode. + * \param r_dir the string that'll contain path up to blend file itself ('library' path). + * \param r_group the string that'll contain 'group' part of the path, if any. May be NULL. + * \param r_name the string that'll contain data's name part of the path, if any. May be NULL. + * \return true if path contains a blend file. */ -bool BLO_is_a_library(const char *path, char *dir, char *group); +bool BLO_library_path_explode(const char *path, char *r_dir, char **r_group, char **r_name); /** |