RNA: Support bitwise operators for property flags in C++

Needed for the following commit.
This commit is contained in:
Julian Eisel 2022-01-07 22:50:55 +01:00
parent 5ba5678e00
commit 3e11c7016e
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@
#define __RNA_TYPES_H__
#include "../blenlib/BLI_sys_types.h"
#include "BLI_utildefines.h"
#ifdef __cplusplus
extern "C" {
@ -314,6 +315,7 @@ typedef enum PropertyFlag {
*/
PROP_NO_DEG_UPDATE = (1 << 30),
} PropertyFlag;
ENUM_OPERATORS(PropertyFlag, PROP_TEXTEDIT_UPDATE);
/**
* Flags related to comparing and overriding RNA properties.