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_idmap.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_idmap.h')
-rw-r--r-- | source/blender/blenkernel/BKE_library_idmap.h | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/source/blender/blenkernel/BKE_library_idmap.h b/source/blender/blenkernel/BKE_library_idmap.h index a2ae4541484..0285699dea3 100644 --- a/source/blender/blenkernel/BKE_library_idmap.h +++ b/source/blender/blenkernel/BKE_library_idmap.h @@ -26,23 +26,20 @@ struct ID; struct IDNameLib_Map; struct Main; -struct IDNameLib_Map *BKE_main_idmap_create( - struct Main *bmain, - const bool create_valid_ids_set, - struct Main *old_bmain) - ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1); -void BKE_main_idmap_destroy( - struct IDNameLib_Map *id_typemap) - ATTR_NONNULL(); -struct Main *BKE_main_idmap_main_get( - struct IDNameLib_Map *id_typemap) - ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(); -struct ID *BKE_main_idmap_lookup( - struct IDNameLib_Map *id_typemap, - short id_type, const char *name, const struct Library *lib) - ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1, 3); -struct ID *BKE_main_idmap_lookup_id( - struct IDNameLib_Map *id_typemap, const struct ID *id) - ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1, 2); +struct IDNameLib_Map *BKE_main_idmap_create(struct Main *bmain, + const bool create_valid_ids_set, + struct Main *old_bmain) ATTR_WARN_UNUSED_RESULT + ATTR_NONNULL(1); +void BKE_main_idmap_destroy(struct IDNameLib_Map *id_typemap) ATTR_NONNULL(); +struct Main *BKE_main_idmap_main_get(struct IDNameLib_Map *id_typemap) ATTR_WARN_UNUSED_RESULT + ATTR_NONNULL(); +struct ID *BKE_main_idmap_lookup(struct IDNameLib_Map *id_typemap, + short id_type, + const char *name, + const struct Library *lib) ATTR_WARN_UNUSED_RESULT + ATTR_NONNULL(1, 3); +struct ID *BKE_main_idmap_lookup_id(struct IDNameLib_Map *id_typemap, + const struct ID *id) ATTR_WARN_UNUSED_RESULT + ATTR_NONNULL(1, 2); -#endif /* __BKE_LIBRARY_IDMAP_H__ */ +#endif /* __BKE_LIBRARY_IDMAP_H__ */ |