mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
62804667ee
- readonly(...) should no longer issue errors in bogus manners - binding for member function pointers and normal pointers should behave better now - coroutines should now properly transfer the state/identity of their error handlers - Fix empty base class optimization type - Improve bind traits metaprogramming - Add new define to catch-all for exception propagation - Improve natvis - Move test defines to build system, as we should - Add a new example for multiple thread/states in Coroutines - Add proper direct to mangling in Clang for Windows - Exceptions are still busted on some platforms (Clang being quite funky)
56 lines
1.9 KiB
XML
56 lines
1.9 KiB
XML
<?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={error_handler}</DisplayString>
|
|
<Expand>
|
|
<Item Name="status">stats</Item>
|
|
<Item Name="error_handler">error_handler</Item>
|
|
<Item Name="reference">*($T1*)this</Item>
|
|
</Expand>
|
|
</Type>
|
|
<Type Name="sol::basic_protected_function<*>">
|
|
<DisplayString>status={stats} error_handler={error_handler} index={index} state={luastate}</DisplayString>
|
|
<Expand>
|
|
<Item Name="error_handler">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>
|