ProteoWizard
Classes | Namespaces | Macros | Functions
pinned_gcroot.h File Reference
#include <gcroot.h>

Go to the source code of this file.

Classes

struct  msclr::pinned_gcroot< T >
 pinned_gcroot: a slightly modified gcroot that pins its GCHandle More...
 

Namespaces

 msclr
 

Macros

#define __GCHANDLE_TO_VOIDPTR(x)   ((GCHandle::op_Explicit(x)).ToPointer())
 
#define __VOIDPTR_TO_GCHANDLE(x)   (GCHandle::op_Explicit(x))
 
#define __NULLPTR   0
 

Functions

template<typename T >
void msclr::swap (pinned_gcroot< T > &_left, pinned_gcroot< T > &_right)
 

Macro Definition Documentation

◆ __GCHANDLE_TO_VOIDPTR

#define __GCHANDLE_TO_VOIDPTR (   x)    ((GCHandle::op_Explicit(x)).ToPointer())

Definition at line 20 of file pinned_gcroot.h.

Referenced by msclr::pinned_gcroot< T >::pinned_gcroot().

◆ __VOIDPTR_TO_GCHANDLE

#define __VOIDPTR_TO_GCHANDLE (   x)    (GCHandle::op_Explicit(x))

◆ __NULLPTR

#define __NULLPTR   0

Definition at line 22 of file pinned_gcroot.h.

Referenced by msclr::pinned_gcroot< T >::pinned_gcroot().