Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/blenkernel/BKE_appdir.h
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/blenkernel/BKE_appdir.h')
-rw-r--r--source/blender/blenkernel/BKE_appdir.h61
1 files changed, 32 insertions, 29 deletions
diff --git a/source/blender/blenkernel/BKE_appdir.h b/source/blender/blenkernel/BKE_appdir.h
index 1dc934ee533..7ff8514f675 100644
--- a/source/blender/blenkernel/BKE_appdir.h
+++ b/source/blender/blenkernel/BKE_appdir.h
@@ -24,7 +24,10 @@ struct ListBase;
/* 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_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);
@@ -36,53 +39,53 @@ bool BKE_appdir_app_template_id_search(const char *app_template, char *path, siz
void BKE_appdir_app_templates(struct ListBase *templates);
/* Initialize path to program executable */
-void BKE_appdir_program_path_init(const char *argv0);
+void BKE_appdir_program_path_init(const char *argv0);
const char *BKE_appdir_program_path(void);
const char *BKE_appdir_program_dir(void);
/* find python executable */
-bool BKE_appdir_program_python_search(
- char *fullpath, const size_t fullpath_len,
- const int version_major, const int version_minor);
+bool BKE_appdir_program_python_search(char *fullpath,
+ const size_t fullpath_len,
+ const int version_major,
+ const int version_minor);
/* Initialize path to temporary directory. */
-void BKE_tempdir_init(char *userdir);
-void BKE_tempdir_system_init(char *dir);
+void BKE_tempdir_init(char *userdir);
+void BKE_tempdir_system_init(char *dir);
const char *BKE_tempdir_base(void);
const char *BKE_tempdir_session(void);
-void BKE_tempdir_session_purge(void);
-
+void BKE_tempdir_session_purge(void);
/* folder_id */
enum {
- /* general, will find based on user/local/system priority */
- BLENDER_DATAFILES = 2,
+ /* general, will find based on user/local/system priority */
+ BLENDER_DATAFILES = 2,
- /* user-specific */
- BLENDER_USER_CONFIG = 31,
- BLENDER_USER_DATAFILES = 32,
- BLENDER_USER_SCRIPTS = 33,
- BLENDER_USER_AUTOSAVE = 34,
+ /* user-specific */
+ BLENDER_USER_CONFIG = 31,
+ BLENDER_USER_DATAFILES = 32,
+ BLENDER_USER_SCRIPTS = 33,
+ BLENDER_USER_AUTOSAVE = 34,
- /* system */
- BLENDER_SYSTEM_DATAFILES = 52,
- BLENDER_SYSTEM_SCRIPTS = 53,
- BLENDER_SYSTEM_PYTHON = 54,
+ /* system */
+ BLENDER_SYSTEM_DATAFILES = 52,
+ BLENDER_SYSTEM_SCRIPTS = 53,
+ BLENDER_SYSTEM_PYTHON = 54,
};
/* for BKE_appdir_folder_id_version only */
enum {
- BLENDER_RESOURCE_PATH_USER = 0,
- BLENDER_RESOURCE_PATH_LOCAL = 1,
- BLENDER_RESOURCE_PATH_SYSTEM = 2,
+ BLENDER_RESOURCE_PATH_USER = 0,
+ BLENDER_RESOURCE_PATH_LOCAL = 1,
+ BLENDER_RESOURCE_PATH_SYSTEM = 2,
};
-#define BLENDER_STARTUP_FILE "startup.blend"
-#define BLENDER_USERPREF_FILE "userpref.blend"
-#define BLENDER_QUIT_FILE "quit.blend"
-#define BLENDER_BOOKMARK_FILE "bookmarks.txt"
-#define BLENDER_HISTORY_FILE "recent-files.txt"
+#define BLENDER_STARTUP_FILE "startup.blend"
+#define BLENDER_USERPREF_FILE "userpref.blend"
+#define BLENDER_QUIT_FILE "quit.blend"
+#define BLENDER_BOOKMARK_FILE "bookmarks.txt"
+#define BLENDER_HISTORY_FILE "recent-files.txt"
-#endif /* __BKE_APPDIR_H__ */
+#endif /* __BKE_APPDIR_H__ */