diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-24 02:35:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-24 02:35:58 +0300 |
commit | 0453c807e0b3e18c7df4b61affba8069bb8858ac (patch) | |
tree | 20cfde9fdc512e8ca49ebc1fac9ef62210b2a3a0 /source/blender/blenkernel/BKE_appdir.h | |
parent | 6a6566a7fcbdba4f0711293cce73dbd93b75a7df (diff) |
Add: BKE_appdir_folder_id_ex
Allows getting the path without using a static string.
Diffstat (limited to 'source/blender/blenkernel/BKE_appdir.h')
-rw-r--r-- | source/blender/blenkernel/BKE_appdir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_appdir.h b/source/blender/blenkernel/BKE_appdir.h index 077fe2a629c..c6587b94666 100644 --- a/source/blender/blenkernel/BKE_appdir.h +++ b/source/blender/blenkernel/BKE_appdir.h @@ -27,6 +27,7 @@ /* note on naming: typical _get() suffix is omitted here, * since its the main purpose of the API. */ const char *BKE_appdir_folder_default(void); +const char *BKE_appdir_folder_id_ex(const int folder_id, const char *subfolder, char *path, size_t path_len); const char *BKE_appdir_folder_id(const int folder_id, const char *subfolder); const char *BKE_appdir_folder_id_create(const int folder_id, const char *subfolder); const char *BKE_appdir_folder_id_user_notest(const int folder_id, const char *subfolder); |