remove the godot::String and godot::StringName from godot.natvis, those visualizers are going to be in godot-cpp (https://github.com/godotengine/godot-cpp/pull/1977)
This commit is contained in:
@@ -242,30 +242,12 @@
|
||||
<StringView Condition="_cowdata._ptr != 0">_cowdata._ptr,s32</StringView>
|
||||
</Type>
|
||||
|
||||
<Type Name="godot::String">
|
||||
<DisplayString>{*reinterpret_cast<void**>(opaque),s32}</DisplayString>
|
||||
<Expand>
|
||||
<Item Name="opaque_ptr">*reinterpret_cast<void**>(opaque)</Item>
|
||||
<Item Name="string">*reinterpret_cast<void**>(opaque),s32</Item>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="StringName">
|
||||
<DisplayString Condition="_data">{_data->name,s32}</DisplayString>
|
||||
<DisplayString Condition="!_data">[empty]</DisplayString>
|
||||
<StringView Condition="_data">_data->name,s32</StringView>
|
||||
</Type>
|
||||
|
||||
<!-- can't cast the opaque to ::StringName because Natvis does not support global namespace specifier? -->
|
||||
<Type Name="godot::StringName">
|
||||
<Intrinsic Name="get_data_ptr" Expression="(*reinterpret_cast<const char32_t***>(opaque))[1]" />
|
||||
<DisplayString Condition="get_data_ptr()">{get_data_ptr(),s32}</DisplayString>
|
||||
<Expand>
|
||||
<Item Name="opaque_ptr">*reinterpret_cast<void**>(opaque)</Item>
|
||||
<Item Name="cname">get_data_ptr(),s32</Item>
|
||||
</Expand>
|
||||
</Type>
|
||||
|
||||
<Type Name="Object::SignalData">
|
||||
<DisplayString Condition="user.name._cowdata._ptr">"{user.name}" {slot_map}</DisplayString>
|
||||
<DisplayString Condition="!user.name._cowdata._ptr">"{slot_map}</DisplayString>
|
||||
|
||||
Reference in New Issue
Block a user