diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/blenkernel/BKE_library_override.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (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_library_override.h')
-rw-r--r-- | source/blender/blenkernel/BKE_library_override.h | 52 |
1 files changed, 33 insertions, 19 deletions
diff --git a/source/blender/blenkernel/BKE_library_override.h b/source/blender/blenkernel/BKE_library_override.h index 9a6700575ae..bdecff87cf1 100644 --- a/source/blender/blenkernel/BKE_library_override.h +++ b/source/blender/blenkernel/BKE_library_override.h @@ -41,43 +41,57 @@ void BKE_override_static_free(struct IDOverrideStatic **override); struct ID *BKE_override_static_create_from_id(struct Main *bmain, struct ID *reference_id); bool BKE_override_static_create_from_tag(struct Main *bmain); -struct IDOverrideStaticProperty *BKE_override_static_property_find(struct IDOverrideStatic *override, const char *rna_path); -struct IDOverrideStaticProperty *BKE_override_static_property_get(struct IDOverrideStatic *override, const char *rna_path, bool *r_created); -void BKE_override_static_property_delete(struct IDOverrideStatic *override, struct IDOverrideStaticProperty *override_property); +struct IDOverrideStaticProperty *BKE_override_static_property_find( + struct IDOverrideStatic *override, const char *rna_path); +struct IDOverrideStaticProperty *BKE_override_static_property_get( + struct IDOverrideStatic *override, const char *rna_path, bool *r_created); +void BKE_override_static_property_delete(struct IDOverrideStatic *override, + struct IDOverrideStaticProperty *override_property); struct IDOverrideStaticPropertyOperation *BKE_override_static_property_operation_find( - struct IDOverrideStaticProperty *override_property, - const char *subitem_refname, const char *subitem_locname, - const int subitem_refindex, const int subitem_locindex, const bool strict, bool *r_strict); + struct IDOverrideStaticProperty *override_property, + const char *subitem_refname, + const char *subitem_locname, + const int subitem_refindex, + const int subitem_locindex, + const bool strict, + bool *r_strict); struct IDOverrideStaticPropertyOperation *BKE_override_static_property_operation_get( - struct IDOverrideStaticProperty *override_property, const short operation, - const char *subitem_refname, const char *subitem_locname, - const int subitem_refindex, const int subitem_locindex, - const bool strict, bool *r_strict, bool *r_created); + struct IDOverrideStaticProperty *override_property, + const short operation, + const char *subitem_refname, + const char *subitem_locname, + const int subitem_refindex, + const int subitem_locindex, + const bool strict, + bool *r_strict, + bool *r_created); void BKE_override_static_property_operation_delete( - struct IDOverrideStaticProperty *override_property, struct IDOverrideStaticPropertyOperation *override_property_operation); + struct IDOverrideStaticProperty *override_property, + struct IDOverrideStaticPropertyOperation *override_property_operation); bool BKE_override_static_status_check_local(struct Main *bmain, struct ID *local); bool BKE_override_static_status_check_reference(struct Main *bmain, struct ID *local); -bool BKE_override_static_operations_create(struct Main *bmain, struct ID *local, const bool force_auto); +bool BKE_override_static_operations_create(struct Main *bmain, + struct ID *local, + const bool force_auto); void BKE_main_override_static_operations_create(struct Main *bmain, const bool force_auto); void BKE_override_static_update(struct Main *bmain, struct ID *local); void BKE_main_override_static_update(struct Main *bmain); - /* Storage (.blend file writing) part. */ /* For now, we just use a temp main list. */ typedef struct Main OverrideStaticStorage; OverrideStaticStorage *BKE_override_static_operations_store_initialize(void); -struct ID *BKE_override_static_operations_store_start( - struct Main *bmain, OverrideStaticStorage *override_storage, struct ID *local); -void BKE_override_static_operations_store_end(OverrideStaticStorage *override_storage, struct ID *local); +struct ID *BKE_override_static_operations_store_start(struct Main *bmain, + OverrideStaticStorage *override_storage, + struct ID *local); +void BKE_override_static_operations_store_end(OverrideStaticStorage *override_storage, + struct ID *local); void BKE_override_static_operations_store_finalize(OverrideStaticStorage *override_storage); - - -#endif /* __BKE_LIBRARY_OVERRIDE_H__ */ +#endif /* __BKE_LIBRARY_OVERRIDE_H__ */ |