Browse Source

Added missing MaxIndent option.

pull/13/merge
triton 12 years ago
parent
commit
ff0eb8e496
  1. 2
      src/Generator/Driver.cs

2
src/Generator/Driver.cs

@ -174,6 +174,7 @@ namespace CppSharp
GenerateLibraryNamespace = true; GenerateLibraryNamespace = true;
GeneratePartialClasses = true; GeneratePartialClasses = true;
OutputInteropIncludes = true; OutputInteropIncludes = true;
MaxIndent = 80;
} }
// General options // General options
@ -214,6 +215,7 @@ namespace CppSharp
public string IncludePrefix; public string IncludePrefix;
public bool WriteOnlyWhenChanged; public bool WriteOnlyWhenChanged;
public Func<TranslationUnit, string> GenerateName; public Func<TranslationUnit, string> GenerateName;
public int MaxIndent;
} }
public class InvalidOptionException : Exception public class InvalidOptionException : Exception

Loading…
Cancel
Save