projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[coop handles] Add some memory fences (#3617)
[mono.git]
/
mono
/
metadata
/
mono-hash.h
diff --git
a/mono/metadata/mono-hash.h
b/mono/metadata/mono-hash.h
index 4626ed48ca03b0d37d73a04b3a47bc44b952e83a..60c3328a238782269a18de0e1c9bf04ddef6aa52 100644
(file)
--- a/
mono/metadata/mono-hash.h
+++ b/
mono/metadata/mono-hash.h
@@
-5,6
+5,7
@@
* Paolo Molaro (lupus@xamarin.com)
*
* Copyright 2013 Xamarin Inc (http://www.xamarin.com)
* Paolo Molaro (lupus@xamarin.com)
*
* Copyright 2013 Xamarin Inc (http://www.xamarin.com)
+ * Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
#ifndef __MONO_G_HASH_H__
*/
#ifndef __MONO_G_HASH_H__
@@
-13,11
+14,11
@@
#include <mono/metadata/mono-gc.h>
MONO_BEGIN_DECLS
#include <mono/metadata/mono-gc.h>
MONO_BEGIN_DECLS
-
+/* do not change the values of this enum */
typedef enum {
typedef enum {
- MONO_HASH_KEY_GC,
- MONO_HASH_VALUE_GC,
- MONO_HASH_KEY_VALUE_GC
+ 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;
} MonoGHashGCType;
typedef struct _MonoGHashTable MonoGHashTable;