FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
CefSharp/CefSharp.Core.Runtime/vcclr_local.h at master · cefsharp/CefSharp · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
cefsharp
/
CefSharp
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
2.9k
Star
10.2k
Code
Issues
61
Pull requests
14
Discussions
Actions
Wiki
Security and quality
9
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
CefSharp
/
CefSharp.Core.Runtime
/
vcclr_local.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
60 lines (49 loc) · 1.6 KB
Breadcrumbs
CefSharp
/
CefSharp.Core.Runtime
/
vcclr_local.h
Copy path
File metadata and controls
60 lines (49 loc) · 1.6 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//
// vcclr_local.h - modified version of vcclr.h from c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\vcclr.h.
// Modifications indicated below.
//
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
#if
_MSC_VER
>
1000
#pragma
once
#endif
#if
!defined(
_INC_VCCLR
)
#define
_INC_VCCLR
#ifndef
RC_INVOKED
// Deliberately disabled, since this causes mscorlib.dll to be referenced twice from two different locations, breaking
// IntelliSense whenever this header file is included.
//#using <mscorlib.dll>
#include
<gcroot.h>
#pragma
warning(push)
#pragma
warning(disable:4400)
#ifdef
__cplusplus_cli
typedef
cli
::
interior_ptr
<
const
System
::
Char
>
__const_Char_ptr
;
typedef
cli
::
interior_ptr
<
const
System
::
Byte
>
__const_Byte_ptr
;
typedef
cli
::
interior_ptr
<
System
::
Byte
>
_Byte_ptr
;
typedef
const
System
::
String
^
__const_String_handle
;
#define
_NULLPTR
nullptr
#else
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
;
#define
_NULLPTR
0
#endif
//
// get an interior gc pointer to the first character contained in a System::String object
//
inline
__const_Char_ptr
PtrToStringChars
(
__const_String_handle
s
)
{
_Byte_ptr
bp
=
const_cast
<
_Byte_ptr
>
(
reinterpret_cast
<
__const_Byte_ptr
>
(
s
));
if
(
bp
!=
_NULLPTR
)
{
unsigned
offset
=
System
::
Runtime
::
CompilerServices
::
RuntimeHelpers
::
OffsetToStringData
;
bp
+=
offset
;
}
return
reinterpret_cast
<
__const_Char_ptr
>
(
bp
);
}
#pragma
warning(pop)
#undef
_NULLPTR
#endif
/* RC_INVOKED */
#endif
//_INC_VCCLR
Back
|
FazBrowse Home
|
New Git URL