Browse Source

GeneratorKind: patch bug caused by missing ToString (#1811)

pull/1812/head
deadlocklogic 2 years ago committed by GitHub
parent
commit
1327971e25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/Generator/GeneratorKind.cs

5
src/Generator/GeneratorKind.cs

@ -104,6 +104,11 @@ namespace CppSharp.Generators
} }
} }
public override string ToString()
{
return ID;
}
public const string CLI_ID = "CLI"; public const string CLI_ID = "CLI";
public static readonly GeneratorKind CLI = new(CLI_ID, "C++/CLI", typeof(CLIGenerator), typeof(CLITypePrinter), new[] { "cli" }); public static readonly GeneratorKind CLI = new(CLI_ID, "C++/CLI", typeof(CLIGenerator), typeof(CLITypePrinter), new[] { "cli" });

Loading…
Cancel
Save