STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Macros | Typedefs | Functions
vcclr.h File Reference
#include <gcroot.h>

Go to the source code of this file.

Macros

#define _INC_VCCLR
 
#define _NULLPTR   0
 

Typedefs

typedef const System::Char * __const_Char_ptr
 
typedef const System::Byte * __const_Byte_ptr
 
typedef System::Byte * _Byte_ptr
 
typedef const System::String * __const_String_handle
 

Functions

__const_Char_ptr PtrToStringChars (__const_String_handle s)
 

Macro Definition Documentation

#define _INC_VCCLR
#define _NULLPTR   0

Typedef Documentation

typedef const System::Byte* __const_Byte_ptr
typedef const System::Char* __const_Char_ptr
typedef const System::String* __const_String_handle
typedef System::Byte* _Byte_ptr

Function Documentation

__const_Char_ptr PtrToStringChars ( __const_String_handle  s)
inline
40  {
41 
42  _Byte_ptr bp = const_cast<_Byte_ptr>(reinterpret_cast<__const_Byte_ptr>(s));
43  if( bp != _NULLPTR ) {
44  unsigned offset = System::Runtime::CompilerServices::RuntimeHelpers::OffsetToStringData;
45  bp += offset;
46  }
47  return reinterpret_cast<__const_Char_ptr>(bp);
48 }
System::Byte * _Byte_ptr
Definition: vcclr.h:31
#define _NULLPTR
Definition: vcclr.h:33
const System::Byte * __const_Byte_ptr
Definition: vcclr.h:30
const System::Char * __const_Char_ptr
Definition: vcclr.h:29