|
|
|
@ -473,7 +473,7 @@ namespace CppSharp.Generators.C
@@ -473,7 +473,7 @@ namespace CppSharp.Generators.C
|
|
|
|
|
{ |
|
|
|
|
case TypePrintScopeKind.Local: |
|
|
|
|
{ |
|
|
|
|
if (ContextKind == TypePrinterContextKind.Managed) |
|
|
|
|
if (ContextKind is TypePrinterContextKind.Managed or TypePrinterContextKind.Normal) |
|
|
|
|
{ |
|
|
|
|
return PrintLogicalNames ? declaration.LogicalName : declaration.Name; |
|
|
|
|
} |
|
|
|
@ -510,6 +510,12 @@ namespace CppSharp.Generators.C
@@ -510,6 +510,12 @@ namespace CppSharp.Generators.C
|
|
|
|
|
return $"{declContext}{NamespaceSeparator}{declName}"; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (ContextKind == TypePrinterContextKind.Normal) |
|
|
|
|
{ |
|
|
|
|
return PrintLogicalNames ? declaration.QualifiedLogicalName |
|
|
|
|
: declaration.QualifiedName; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return PrintLogicalNames ? declaration.QualifiedLogicalOriginalName |
|
|
|
|
: declaration.QualifiedOriginalName; |
|
|
|
|
} |
|
|
|
|