From 679aabea26d270872b325f8fdb35dba3ca5b8041 Mon Sep 17 00:00:00 2001 From: andrew-softdev Date: Mon, 28 Dec 2020 13:37:36 +0000 Subject: Incorrect format specifiers used to display some String/StringName data --- platform/windows/godot.natvis | 60 +++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 33 deletions(-) diff --git a/platform/windows/godot.natvis b/platform/windows/godot.natvis index 1f625cfb77..d85dfbc3d3 100644 --- a/platform/windows/godot.natvis +++ b/platform/windows/godot.natvis @@ -10,16 +10,6 @@ - - - alloc ? (alloc->size / sizeof($T1)) : 0 - - alloc ? (alloc->size / sizeof($T1)) : 0 - alloc ? (($T1 *)alloc->mem) : 0 - - - - _data ? (_data->size_cache) : 0 @@ -36,7 +26,7 @@ nil {_data._bool} {_data._int} - {_data._real} + {_data._float} {_data._transform2d} {_data._aabb} {_data._basis} @@ -49,24 +39,26 @@ {*(Quat *)_data._mem} {*(Color *)_data._mem} {*(NodePath *)_data._mem} - {*(RID *)_data._mem} + {*(::RID *)_data._mem} {*(Object *)_data._mem} {*(Dictionary *)_data._mem} {*(Array *)_data._mem} - {*(PoolByteArray *)_data._mem} - {*(PoolIntArray *)_data._mem} - {*(PoolRealArray *)_data._mem} - {*(PoolStringArray *)_data._mem} - {*(PoolVector2Array *)_data._mem} - {*(PoolVector3Array *)_data._mem} - {*(PoolColorArray *)_data._mem} + {*(PackedByteArray *)_data._mem} + {*(PackedInt32Array *)_data._mem} + {*(PackedInt64Array *)_data._mem} + {*(PackedFloat32Array *)_data._mem} + {*(PackedFloat64Array *)_data._mem} + {*(PackedStringArray *)_data._mem} + {*(PackedVector2Array *)_data._mem} + {*(PackedVector3Array *)_data._mem} + {*(PackedColorArray *)_data._mem} - ((String *)(_data._mem))->_cowdata._ptr,su + ((String *)(_data._mem))->_cowdata._ptr,s32 _data._bool _data._int - _data._real + _data._float _data._transform2d _data._aabb _data._basis @@ -79,32 +71,34 @@ *(Quat *)_data._mem *(Color *)_data._mem *(NodePath *)_data._mem - *(RID *)_data._mem + *(::RID *)_data._mem *(Object *)_data._mem *(Dictionary *)_data._mem *(Array *)_data._mem - *(PoolByteArray *)_data._mem - *(PoolIntArray *)_data._mem - *(PoolRealArray *)_data._mem - *(PoolStringArray *)_data._mem - *(PoolVector2Array *)_data._mem - *(PoolVector3Array *)_data._mem - *(PoolColorArray *)_data._mem + *(PackedByteArray *)_data._mem + *(PackedInt32Array *)_data._mem + *(PackedInt64Array *)_data._mem + *(PackedFloat32Array *)_data._mem + *(PackedFloat64Array *)_data._mem + *(PackedStringArray *)_data._mem + *(PackedVector2Array *)_data._mem + *(PackedVector3Array *)_data._mem + *(PackedColorArray *)_data._mem [empty] - {_cowdata._ptr,su} - _cowdata._ptr,su + {_cowdata._ptr,s32} + _cowdata._ptr,s32 {_data->cname} - {_data->name,su} + {_data->name,s32} [empty] _data->cname - _data->name,su + _data->name,s32 -- cgit v1.2.3