Browse Source

Merge pull request #179 from ddobrev/master

Changed the option for bitness to be writable and 64-bit by default for 64-bit builds.
pull/163/merge
João Matos 12 years ago
parent
commit
86203ebe68
  1. 7
      src/Generator/Options.cs

7
src/Generator/Options.cs

@ -44,6 +44,11 @@ namespace CppSharp @@ -44,6 +44,11 @@ namespace CppSharp
Encoding = Encoding.ASCII;
CodeFiles = new List<string>();
Is32Bit = true;
#if IS_64_BIT
Is32Bit = false;
#endif
}
// General options
@ -128,7 +133,7 @@ namespace CppSharp @@ -128,7 +133,7 @@ namespace CppSharp
get { return GeneratorKind == GeneratorKind.CLI; }
}
public bool Is32Bit { get { return true; } }
public bool Is32Bit { get; set; }
public List<string> CodeFiles { get; private set; }
public readonly List<string> DependentNameSpaces = new List<string>();

Loading…
Cancel
Save