From e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Apr 2019 06:17:24 +0200 Subject: 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 --- source/blender/blenkernel/BKE_library_override.h | 52 +++++++++++++++--------- 1 file changed, 33 insertions(+), 19 deletions(-) (limited to 'source/blender/blenkernel/BKE_library_override.h') 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__ */ -- cgit v1.2.3