diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-08 09:41:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-08 09:41:55 +0300 |
commit | d20b08281e0e5cf47b7b549910b6f5ab7f61e57d (patch) | |
tree | 46789b097ecb67f88f49ffd6352d8f9a45af5c59 /source/blender/blenloader/BLO_readfile.h | |
parent | 748deced1c7b85009142d1ebbffba4c1f2405a3f (diff) |
Cleanup: naming for library link enum
Use 'e' prefix, update comments.
Diffstat (limited to 'source/blender/blenloader/BLO_readfile.h')
-rw-r--r-- | source/blender/blenloader/BLO_readfile.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/source/blender/blenloader/BLO_readfile.h b/source/blender/blenloader/BLO_readfile.h index c83d8e037c8..4571e50dd36 100644 --- a/source/blender/blenloader/BLO_readfile.h +++ b/source/blender/blenloader/BLO_readfile.h @@ -142,13 +142,15 @@ bool BLO_library_path_explode(const char *path, char *r_dir, char **r_group, cha /** \name BLO Blend File Linking API * \{ */ -/* Options controlling behavior of append/link code. - * Note: merged with 'user-level' options from operators etc. in 16 lower bits - * (see eFileSel_Params_Flag in DNA_space_types.h). */ -typedef enum BLO_LibLinkFlags { - /* Generate a placeholder (empty ID) if not found in current lib file. */ +/** + * Options controlling behavior of append/link code. + * \note merged with 'user-level' options from operators etc. in 16 lower bits + * (see #eFileSel_Params_Flag in DNA_space_types.h). + */ +typedef enum eBLOLibLinkFlags { + /** Generate a placeholder (empty ID) if not found in current lib file. */ BLO_LIBLINK_USE_PLACEHOLDERS = 1 << 16, - /* Force loaded ID to be tagged as LIB_TAG_INDIRECT (used in reload context only). */ + /** Force loaded ID to be tagged as #LIB_TAG_INDIRECT (used in reload context only). */ BLO_LIBLINK_FORCE_INDIRECT = 1 << 17, /** * When set, tag ID types that pass the internal check #library_link_idcode_needs_tag_check @@ -158,7 +160,7 @@ typedef enum BLO_LibLinkFlags { * don't need to remember to set this flag. */ BLO_LIBLINK_NEEDS_ID_TAG_DOIT = 1 << 18, -} BLO_LinkFlags; +} eBLOLibLinkFlags; /** * Struct for passing arguments to |