Skip to content

Commit 251e6d5

Browse files
committed
Add support for types defined in DLLs
1 parent 9c470e0 commit 251e6d5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

solution/GraphicalDebugging/Util.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,14 @@ public static string CppNormalizeType(string type)
135135

136136
public static string CppRemoveCVRef(string type)
137137
{
138+
if (type.EndsWith("}"))
139+
{
140+
int i = type.LastIndexOf("{");
141+
if (i > 0) // including space
142+
{
143+
type = type.Remove(i - 1);
144+
}
145+
}
138146
if (type.StartsWith("const "))
139147
type = type.Remove(0, 6);
140148
if (type.StartsWith("volatile "))

0 commit comments

Comments
 (0)