15 #ifdef __cplusplus_cli
16 #define __GCHANDLE_TO_VOIDPTR(x) ((GCHandle::operator System::IntPtr(x)).ToPointer())
17 #define __VOIDPTR_TO_GCHANDLE(x) (GCHandle::operator GCHandle(System::IntPtr(x)))
18 #define __NULLPTR nullptr
20 #define __GCHANDLE_TO_VOIDPTR(x) ((GCHandle::op_Explicit(x)).ToPointer())
21 #define __VOIDPTR_TO_GCHANDLE(x) (GCHandle::op_Explicit(x))
25 #ifndef __DEFINE_GCROOT_IN_GLOBAL_NAMESPACE
33 typedef System::Runtime::InteropServices::GCHandle
GCHandle;
34 typedef System::Runtime::InteropServices::GCHandleType
GCHandleType;
39 [System::Diagnostics::DebuggerStepThroughAttribute]
40 [System::Security::SecuritySafeCritical]
62 [System::Diagnostics::DebuggerStepThroughAttribute]
63 [System::Security::SecurityCritical]
70 [System::Diagnostics::DebuggerStepThroughAttribute]
71 [System::Security::SecurityCritical]
92 [System::Security::SecuritySafeCritical]
100 [System::Security::SecuritySafeCritical]
131 #ifndef __DEFINE_GCROOT_IN_GLOBAL_NAMESPACE
135 #undef __GCHANDLE_TO_VOIDPTR
136 #undef __VOIDPTR_TO_GCHANDLE