Browse Source

Visit the declaration by using its visit method and not the generic VisitDeclaration.

pull/1/head
triton 12 years ago
parent
commit
705844046f
  1. 2
      src/Generator/Generators/CSharp/CSharpTypePrinter.cs

2
src/Generator/Generators/CSharp/CSharpTypePrinter.cs

@ -84,7 +84,7 @@ namespace CppSharp.Generators.CSharp @@ -84,7 +84,7 @@ namespace CppSharp.Generators.CSharp
if (tag.Declaration == null)
return string.Empty;
return VisitDeclaration(tag.Declaration, quals);
return tag.Declaration.Visit(this);
}
public CSharpTypePrinterResult VisitArrayType(ArrayType array,

Loading…
Cancel
Save