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-06-26 05:40:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-26 05:44:22 +0300
commit545610d3aae0c64ad98abb4fcb19d8958018bd76 (patch)
tree4f9d256e3e58b08faa08fb41ba28840c0fae7490 /source/blender/blenkernel/BKE_library.h
parentabaf6b106d3a34512f1061dc23277f3924da7fc6 (diff)
Cleanup: un-wrap lines in headers, use doxy comments
Diffstat (limited to 'source/blender/blenkernel/BKE_library.h')
-rw-r--r--source/blender/blenkernel/BKE_library.h21
1 files changed, 13 insertions, 8 deletions
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();