From 0453c807e0b3e18c7df4b61affba8069bb8858ac Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 24 Mar 2017 10:35:58 +1100 Subject: Add: BKE_appdir_folder_id_ex Allows getting the path without using a static string. --- source/blender/blenkernel/BKE_appdir.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenkernel/BKE_appdir.h') 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); -- cgit v1.2.3