-
Notifications
You must be signed in to change notification settings - Fork 140
/
LLGL.natvis
59 lines (59 loc) · 2.54 KB
/
LLGL.natvis
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
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="LLGL::ArrayView<*>" Inheritable="false">
<DisplayString>{{size = {size_}}}</DisplayString>
<Expand>
<Item Name="[size]" ExcludeView="simple">size_</Item>
<ArrayItems>
<Size>size_</Size>
<ValuePointer>data_</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="LLGL::DynamicArray<*>" Inheritable="false">
<DisplayString>{{size = {size_}}}</DisplayString>
<Expand>
<Item Name="[size]" ExcludeView="simple">size_</Item>
<ArrayItems>
<Size>size_</Size>
<ValuePointer>data_</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="LLGL::SmallVector<*>" Inheritable="false">
<DisplayString Condition="size_ > $T2">{{size = {size_} | dynamic}}</DisplayString>
<DisplayString>{{size = {size_} | static}}</DisplayString>
<Expand>
<Item Name="[size]" ExcludeView="simple">size_</Item>
<Item Name="[capacity]" ExcludeView="simple" Condition="size_ <= $T2">$T2</Item>
<Item Name="[capacity]" ExcludeView="simple" Condition="size_ > $T2">cap_</Item>
<ArrayItems>
<Size>size_</Size>
<ValuePointer>data_</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="LLGL::BasicStringView<*>" Inheritable="false">
<DisplayString>{{length = {size_}}}</DisplayString>
<Expand>
<Item Name="[length]" ExcludeView="simple">size_</Item>
<ArrayItems>
<Size>size_</Size>
<ValuePointer>data_</ValuePointer>
</ArrayItems>
</Expand>
</Type>
<Type Name="LLGL::UTF8String" Inheritable="false">
<DisplayString>{data_.data_,s}</DisplayString>
<Expand>
<Item Name="[length]" ExcludeView="simple">data_.size_ - 1</Item>
<Item Name="[capacity]" ExcludeView="simple" Condition="data_.size_ <= 16">16</Item>
<Item Name="[capacity]" ExcludeView="simple" Condition="data_.size_ > 16">data_.cap_ - 1</Item>
<Item Name="[c_str]" ExcludeView="simple">data_.data_</Item>
<ArrayItems>
<Size>data_.size_ - 1</Size>
<ValuePointer>data_.data_</ValuePointer>
</ArrayItems>
</Expand>
</Type>
</AutoVisualizer>