Skip to content

Commit 02868ee

Browse files
committed
Revert "Enable ValueType bitmasking"
This reverts commit a2e4ee1.
1 parent a521bee commit 02868ee

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

include/scratchcpp/valuedata.h

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#include <string>
66

77
#include "global.h"
8-
#include "enum_bitmask.h"
98

109
namespace libscratchcpp
1110
{
@@ -14,15 +13,12 @@ struct StringPtr;
1413

1514
enum class LIBSCRATCHCPP_EXPORT ValueType
1615
{
17-
Void = 0,
18-
Number = 1 << 0,
19-
Bool = 1 << 1,
20-
String = 1 << 2,
21-
Pointer = 1 << 3
16+
Number = 0,
17+
Bool = 1,
18+
String = 2,
19+
Pointer = 3
2220
};
2321

24-
constexpr bool enable_enum_bitmask(ValueType);
25-
2622
extern "C"
2723
{
2824
/*! \brief The ValueData struct holds the data of Value. It's used in compiled Scratch code for better performance. */

0 commit comments

Comments
 (0)