forked from ThePhD/sol2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sol2.natvis
24 lines (24 loc) · 888 Bytes
/
sol2.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
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="sol::optional<*>">
<DisplayString Condition="init_ == false">empty</DisplayString>
<DisplayString>{*((value_type*)(&storage_[0]))}</DisplayString>
<Expand>
<Item Name="value" Condition="init_ == true">*((value_type*)(&storage_[0]))</Item>
</Expand>
</Type>
<Type Name="sol::basic_reference<*>">
<DisplayString>ref={ref} state={luastate}</DisplayString>
<Expand>
<Item Name="reference index">ref</Item>
<Item Name="state">luastate</Item>
</Expand>
</Type>
<Type Name="sol::stack_reference">
<DisplayString>index={index} state={luastate}</DisplayString>
<Expand>
<Item Name="stack index">index</Item>
<Item Name="state">luastate</Item>
</Expand>
</Type>
</AutoVisualizer>