forked from ThePhD/sol2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sol2.natvis
55 lines (55 loc) · 1.94 KB
/
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
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
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="sol::optional<*>">
<DisplayString Condition="m_has_value == false">empty</DisplayString>
<DisplayString Condition="m_has_value == true">{m_value}</DisplayString>
<Expand>
<Item Name="value" Condition="m_has_value == true">m_value</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>
<Type Name="sol::basic_coroutine<*>">
<DisplayString>ref={this->ref} status={stats} error handler={m_error_handler}</DisplayString>
<Expand>
<Item Name="status">stats</Item>
<Item Name="error handler">m_error_handler</Item>
<Item Name="reference">*($T1*)this</Item>
</Expand>
</Type>
<Type Name="sol::basic_protected_function<*>">
<DisplayString>status={stats} error handler={m_error_handler} index={index} state={luastate}</DisplayString>
<Expand>
<Item Name="error handler">m_error_handler</Item>
<Item Name="reference">*($T1*)this</Item>
</Expand>
</Type>
<Type Name="sol::state_view">
<DisplayString>L={L} globals={global} registry={reg}</DisplayString>
<Expand>
<Item Name="globals">global</Item>
<Item Name="registry">reg</Item>
<Item Name="state">L</Item>
</Expand>
</Type>
<Type Name="sol::state">
<DisplayString>L={L} globals={global} registry={reg}</DisplayString>
<Expand>
<Item Name="globals">global</Item>
<Item Name="registry">reg</Item>
<Item Name="state">L</Item>
</Expand>
</Type>
</AutoVisualizer>