FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
basicpp17/helpers/tuple_natvis.awk at develop · basicpp/basicpp17 · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
basicpp
/
basicpp17
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
7
Code
Issues
8
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
basicpp17
/
helpers
/
tuple_natvis.awk
Copy path
More file actions
More file actions
Latest commit
History
History
History
36 lines (27 loc) · 871 Bytes
Breadcrumbs
basicpp17
/
helpers
/
tuple_natvis.awk
Copy path
File metadata and controls
36 lines (27 loc) · 871 Bytes
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
function
repeat
(
str
,
n
,
rep
,
i
)
{
for
( ; i
<
n; i
++
)
rep
=
rep str
return
rep
}
function
viewer
(
depth
)
{
return
"
*(DebugTypes::
"
repeat(
"
Tail::
"
, i)
"
Head *)(((const char*)&(m)) + DebugTypes::
"
repeat(
"
Tail::
"
, i)
"
Offset)
"
}
BEGIN
{
print
(
"
<?xml version='1.0' encoding='utf-8'?>
"
)
print
(
"
<AutoVisualizer xmlns=
\"
http://schemas.microsoft.com/vstudio/debugger/natvis/2010
\"
>
"
)
print
"
<Type Name=
\"
tuple17::Tuple<*>
\"
>
"
for
(i
=
1
; i
<
6
; i
++
) {
printf
"
<DisplayString Condition=
\"
npos ==
"
(i)
"
\"
Optional=
\"
true
\"
>
"
for
(j
=
0
; j
<
i; j
++
)
printf
"
{
"
viewer(j)
"
},
"
print
"
</DisplayString>
"
}
print
"
<Expand>
"
for
(i
=
0
; i
<
64
; i
++
) {
print
"
<Item Name=
\"
"
i
"
\"
Condition=
\"
(npos >
"
i
"
)
\"
Optional=
\"
true
\"
>
"
viewer(i)
"
</Item>
"
}
print
"
</Expand>
"
print
"
</Type>
"
print
"
</AutoVisualizer>
"
}
Back
|
FazBrowse Home
|
New Git URL