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_blendfile.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_blendfile.h')
-rw-r--r--source/blender/blenkernel/BKE_blendfile.h61
1 files changed, 33 insertions, 28 deletions
diff --git a/source/blender/blenkernel/BKE_blendfile.h b/source/blender/blenkernel/BKE_blendfile.h
index a665a315bd3..216bef0d1e3 100644
--- a/source/blender/blenkernel/BKE_blendfile.h
+++ b/source/blender/blenkernel/BKE_blendfile.h
@@ -33,50 +33,55 @@ struct UserDef;
struct bContext;
enum {
- BKE_BLENDFILE_READ_FAIL = 0, /* no load */
- BKE_BLENDFILE_READ_OK = 1, /* OK */
- BKE_BLENDFILE_READ_OK_USERPREFS = 2, /* OK, and with new user settings */
+ BKE_BLENDFILE_READ_FAIL = 0, /* no load */
+ BKE_BLENDFILE_READ_OK = 1, /* OK */
+ BKE_BLENDFILE_READ_OK_USERPREFS = 2, /* OK, and with new user settings */
};
-int BKE_blendfile_read(
- struct bContext *C, const char *filepath,
- const struct BlendFileReadParams *params,
- struct ReportList *reports);
-bool BKE_blendfile_read_from_memory(
- struct bContext *C, const void *filebuf, int filelength, bool update_defaults,
- const struct BlendFileReadParams *params,
- struct ReportList *reports);
-bool BKE_blendfile_read_from_memfile(
- struct bContext *C, struct MemFile *memfile,
- const struct BlendFileReadParams *params,
- struct ReportList *reports);
+int BKE_blendfile_read(struct bContext *C,
+ const char *filepath,
+ const struct BlendFileReadParams *params,
+ struct ReportList *reports);
+bool BKE_blendfile_read_from_memory(struct bContext *C,
+ const void *filebuf,
+ int filelength,
+ bool update_defaults,
+ const struct BlendFileReadParams *params,
+ struct ReportList *reports);
+bool BKE_blendfile_read_from_memfile(struct bContext *C,
+ struct MemFile *memfile,
+ const struct BlendFileReadParams *params,
+ struct ReportList *reports);
void BKE_blendfile_read_make_empty(struct bContext *C);
-struct UserDef *BKE_blendfile_userdef_read(
- const char *filepath, struct ReportList *reports);
-struct UserDef *BKE_blendfile_userdef_read_from_memory(
- const void *filebuf, int filelength,
- struct ReportList *reports);
+struct UserDef *BKE_blendfile_userdef_read(const char *filepath, struct ReportList *reports);
+struct UserDef *BKE_blendfile_userdef_read_from_memory(const void *filebuf,
+ int filelength,
+ struct ReportList *reports);
bool BKE_blendfile_userdef_write(const char *filepath, struct ReportList *reports);
bool BKE_blendfile_userdef_write_app_template(const char *filepath, struct ReportList *reports);
-struct WorkspaceConfigFileData *BKE_blendfile_workspace_config_read(
- const char *filepath,
- const void *filebuf, int filelength,
- struct ReportList *reports);
-bool BKE_blendfile_workspace_config_write(struct Main *bmain, const char *filepath, struct ReportList *reports);
+struct WorkspaceConfigFileData *BKE_blendfile_workspace_config_read(const char *filepath,
+ const void *filebuf,
+ int filelength,
+ struct ReportList *reports);
+bool BKE_blendfile_workspace_config_write(struct Main *bmain,
+ const char *filepath,
+ struct ReportList *reports);
void BKE_blendfile_workspace_config_data_free(struct WorkspaceConfigFileData *workspace_config);
/* partial blend file writing */
void BKE_blendfile_write_partial_tag_ID(struct ID *id, bool set);
void BKE_blendfile_write_partial_begin(struct Main *bmain_src);
-bool BKE_blendfile_write_partial(
- struct Main *bmain_src, const char *filepath, const int write_flags, struct ReportList *reports);
+bool BKE_blendfile_write_partial(struct Main *bmain_src,
+ const char *filepath,
+ const int write_flags,
+ struct ReportList *reports);
void BKE_blendfile_write_partial_end(struct Main *bmain_src);
#ifdef __cplusplus
}
#endif
-#endif /* __BKE_BLENDFILE_H__ */
+#endif /* __BKE_BLENDFILE_H__ */