We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a521bee commit 02868eeCopy full SHA for 02868ee
1 file changed
include/scratchcpp/valuedata.h
@@ -5,7 +5,6 @@
5
#include <string>
6
7
#include "global.h"
8
-#include "enum_bitmask.h"
9
10
namespace libscratchcpp
11
{
@@ -14,15 +13,12 @@ struct StringPtr;
14
13
15
enum class LIBSCRATCHCPP_EXPORT ValueType
16
17
- Void = 0,
18
- Number = 1 << 0,
19
- Bool = 1 << 1,
20
- String = 1 << 2,
21
- Pointer = 1 << 3
+ Number = 0,
+ Bool = 1,
+ String = 2,
+ Pointer = 3
22
};
23
24
-constexpr bool enable_enum_bitmask(ValueType);
25
-
26
extern "C"
27
28
/*! \brief The ValueData struct holds the data of Value. It's used in compiled Scratch code for better performance. */
0 commit comments