Browse Source

Implement type printing for template parameter substitution types.

pull/1/head
triton 12 years ago
parent
commit
69cd09188f
  1. 3
      src/Generator/Generators/CSharp/CSharpTypePrinter.cs

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

@ -246,7 +246,8 @@ namespace CppSharp.Generators.CSharp
public CSharpTypePrinterResult VisitTemplateParameterSubstitutionType(TemplateParameterSubstitutionType param, public CSharpTypePrinterResult VisitTemplateParameterSubstitutionType(TemplateParameterSubstitutionType param,
TypeQualifiers quals) TypeQualifiers quals)
{ {
throw new NotImplementedException(); var type = param.Replacement.Type;
return type.Visit(this, param.Replacement.Qualifiers);
} }
public CSharpTypePrinterResult VisitInjectedClassNameType(InjectedClassNameType injected, TypeQualifiers quals) public CSharpTypePrinterResult VisitInjectedClassNameType(InjectedClassNameType injected, TypeQualifiers quals)

Loading…
Cancel
Save