From 545610d3aae0c64ad98abb4fcb19d8958018bd76 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 26 Jun 2019 12:40:22 +1000 Subject: Cleanup: un-wrap lines in headers, use doxy comments --- source/blender/blenkernel/BKE_library.h | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'source/blender/blenkernel/BKE_library.h') diff --git a/source/blender/blenkernel/BKE_library.h b/source/blender/blenkernel/BKE_library.h index 818fbce4f9a..6f4dc3aff3b 100644 --- a/source/blender/blenkernel/BKE_library.h +++ b/source/blender/blenkernel/BKE_library.h @@ -139,19 +139,24 @@ struct ID *BKE_libblock_find_name(struct Main *bmain, */ enum { /* *** Generic options (should be handled by all ID types freeing). *** */ - /* Do not try to remove freed ID from given Main (passed Main may be NULL). */ + /** Do not try to remove freed ID from given Main (passed Main may be NULL). */ LIB_ID_FREE_NO_MAIN = 1 << 0, - /* Do not affect user refcount of datablocks used by freed one. - * Implies LIB_ID_FREE_NO_MAIN. */ + /** + * Do not affect user refcount of datablocks used by freed one. + * Implies LIB_ID_FREE_NO_MAIN. + */ LIB_ID_FREE_NO_USER_REFCOUNT = 1 << 1, - /* Assume freed ID datablock memory is managed elsewhere, do not free it + /** + * Assume freed ID datablock memory is managed elsewhere, do not free it * (still calls relevant ID type's freeing function though) - USE WITH CAUTION! - * Implies LIB_ID_FREE_NO_MAIN. */ + * Implies LIB_ID_FREE_NO_MAIN. + */ LIB_ID_FREE_NOT_ALLOCATED = 1 << 2, - LIB_ID_FREE_NO_DEG_TAG = 1 << 8, /* Do not tag freed ID for update in depsgraph. */ - LIB_ID_FREE_NO_UI_USER = - 1 << 9, /* Do not attempt to remove freed ID from UI data/notifiers/... */ + /** Do not tag freed ID for update in depsgraph. */ + LIB_ID_FREE_NO_DEG_TAG = 1 << 8, + /** Do not attempt to remove freed ID from UI data/notifiers/... */ + LIB_ID_FREE_NO_UI_USER = 1 << 9, }; void BKE_libblock_free_datablock(struct ID *id, const int flag) ATTR_NONNULL(); -- cgit v1.2.3