diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-11-04 22:51:37 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-11-04 22:51:37 +0300 |
commit | e7e3431b299448310f9c9e95d863055e3e04a8c4 (patch) | |
tree | 47454248e10913a192e4ad7d184bfdb45d725de9 /source/blender/blenkernel/BKE_lib_id.h | |
parent | e51735d276b0befe6d6238a89d1f475737744e74 (diff) |
Cleanup: Move object.c to C++
This is useful to allow the use of features made in C++.
Differential Revision: https://developer.blender.org/D13115
Diffstat (limited to 'source/blender/blenkernel/BKE_lib_id.h')
-rw-r--r-- | source/blender/blenkernel/BKE_lib_id.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_lib_id.h b/source/blender/blenkernel/BKE_lib_id.h index d79df4b2216..402787c8cc0 100644 --- a/source/blender/blenkernel/BKE_lib_id.h +++ b/source/blender/blenkernel/BKE_lib_id.h @@ -46,6 +46,7 @@ */ #include "BLI_compiler_attrs.h" +#include "BLI_utildefines.h" #ifdef __cplusplus extern "C" { @@ -179,6 +180,8 @@ typedef enum eLibIDDuplicateFlags { LIB_ID_DUPLICATE_IS_ROOT_ID = 1 << 1, } eLibIDDuplicateFlags; +ENUM_OPERATORS(eLibIDDuplicateFlags, LIB_ID_DUPLICATE_IS_ROOT_ID) + /* lib_remap.c (keep here since they're general functions) */ /** * New freeing logic options. |