Skip to content

Commit 7446ed2

Browse files
committed
Change GenerateSequentialLayout default value to true
1 parent a3a70ad commit 7446ed2

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/CppParser/ParserGen/ParserGen.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public void Setup(Driver driver)
5252
var options = driver.Options;
5353
options.GeneratorKind = Kind;
5454
options.CommentKind = CommentKind.BCPLSlash;
55-
options.GenerateSequentialLayout = true;
5655
var parserModule = options.AddModule("CppSharp.CppParser");
5756
parserModule.Headers.AddRange(new[]
5857
{

src/Generator.Tests/GeneratorTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public virtual void Setup(Driver driver)
2727
options.OutputDir = Path.Combine(GetOutputDirectory(), "build", "gen", name);
2828
options.Quiet = true;
2929
options.GenerateDebugOutput = true;
30-
options.GenerateSequentialLayout = true;
3130
var testModule = options.AddModule(name);
3231
testModule.SharedLibraryName = $"{name}.Native";
3332

src/Generator/Options.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public bool DoAllModulesHaveLibraries() =>
9494
/// </value>
9595
public bool GenerateClassTemplates { get; set; }
9696
public bool GenerateInternalImports;
97-
public bool GenerateSequentialLayout { get; set; }
97+
public bool GenerateSequentialLayout { get; set; } = true;
9898
public bool UseHeaderDirectories;
9999

100100
/// <summary>

0 commit comments

Comments
 (0)