projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd9fa57
)
[coop handles] Define MonoSafeHandleHandle
author
Aleksey Kliger
<aleksey@xamarin.com>
Thu, 1 Jun 2017 17:21:57 +0000
(13:21 -0400)
committer
Aleksey Kliger
<aleksey@xamarin.com>
Mon, 5 Jun 2017 19:01:46 +0000
(15:01 -0400)
Used to access System.Net.Sockets.SafeSocketHandle from native code
mono/metadata/object-internals.h
patch
|
blob
|
history
diff --git
a/mono/metadata/object-internals.h
b/mono/metadata/object-internals.h
index 7af56df2a72e2c59963beca822adaea5cf906cdd..ceb31b1c71cf5a0695182fd5372d425392c58d7f 100644
(file)
--- a/
mono/metadata/object-internals.h
+++ b/
mono/metadata/object-internals.h
@@
-266,6
+266,10
@@
typedef enum {
CallType_OneWay = 3
} MonoCallType;
+/* MonoSafeHandle is in class-internals.h. */
+/* Safely access System.Net.Sockets.SafeSocketHandle from native code */
+TYPED_HANDLE_DECL (MonoSafeHandle);
+
/* This corresponds to System.Type */
struct _MonoReflectionType {
MonoObject object;