[runtime] Revert breaking changes in MonoGHashGCType.
[mono.git] / mono / metadata / mono-hash.h
index a5ef7e42fd2c2068595a32a5630b3311140003f2..e07f8fadb838dcd599922996f8b077333134d56d 100644 (file)
 #include <mono/metadata/mono-gc.h>
 
 MONO_BEGIN_DECLS
-
+/* do not change the values of this enum */
 typedef enum {
-       MONO_HASH_KEY_GC,
-       MONO_HASH_VALUE_GC,
-       MONO_HASH_KEY_VALUE_GC /* note this is the OR of the other two values */
+       MONO_HASH_KEY_GC = 1,
+       MONO_HASH_VALUE_GC = 2,
+       MONO_HASH_KEY_VALUE_GC = MONO_HASH_KEY_GC | MONO_HASH_VALUE_GC,
 } MonoGHashGCType;
 
 typedef struct _MonoGHashTable MonoGHashTable;