diff --git a/examples/SDL/SDL.cs b/examples/SDL/SDL.cs
index 5413ad49b4..3fa130176d 100644
--- a/examples/SDL/SDL.cs
+++ b/examples/SDL/SDL.cs
@@ -54,18 +54,18 @@ public void Preprocess(Driver driver, ASTContext ctx)
ctx.IgnoreFunctionWithName("SDL_Error");
}
- public void Postprocess(Driver driver, ASTContext lib)
+ public void Postprocess(Driver driver, ASTContext ctx)
{
- lib.SetNameOfEnumWithName("PIXELTYPE", "PixelType");
- lib.SetNameOfEnumWithName("BITMAPORDER", "BitmapOrder");
- lib.SetNameOfEnumWithName("PACKEDORDER", "PackedOrder");
- lib.SetNameOfEnumWithName("ARRAYORDER", "ArrayOrder");
- lib.SetNameOfEnumWithName("PACKEDLAYOUT", "PackedLayout");
- lib.SetNameOfEnumWithName("PIXELFORMAT", "PixelFormats");
- lib.SetNameOfEnumWithName("assert_state", "AssertState");
- lib.SetClassBindName("assert_data", "AssertData");
- lib.SetNameOfEnumWithName("eventaction", "EventAction");
- lib.SetNameOfEnumWithName("LOG_CATEGORY", "LogCategory");
+ ctx.SetNameOfEnumWithName("PIXELTYPE", "PixelType");
+ ctx.SetNameOfEnumWithName("BITMAPORDER", "BitmapOrder");
+ ctx.SetNameOfEnumWithName("PACKEDORDER", "PackedOrder");
+ ctx.SetNameOfEnumWithName("ARRAYORDER", "ArrayOrder");
+ ctx.SetNameOfEnumWithName("PACKEDLAYOUT", "PackedLayout");
+ ctx.SetNameOfEnumWithName("PIXELFORMAT", "PixelFormats");
+ ctx.SetNameOfEnumWithName("assert_state", "AssertState");
+ ctx.SetClassBindName("assert_data", "AssertData");
+ ctx.SetNameOfEnumWithName("eventaction", "EventAction");
+ ctx.SetNameOfEnumWithName("LOG_CATEGORY", "LogCategory");
}
static class Program
diff --git a/src/CppParser/Bindings/ParserGen.cs b/src/CppParser/Bindings/ParserGen.cs
index adcc91d2f1..e184a2de0d 100644
--- a/src/CppParser/Bindings/ParserGen.cs
+++ b/src/CppParser/Bindings/ParserGen.cs
@@ -119,7 +119,7 @@ public void Preprocess(Driver driver, ASTContext ctx)
ctx.RenameNamespace("CppSharp::CppParser", "Parser");
}
- public void Postprocess(Driver driver, ASTContext lib)
+ public void Postprocess(Driver driver, ASTContext ctx)
{
}
diff --git a/src/Generator.Tests/GeneratorTest.cs b/src/Generator.Tests/GeneratorTest.cs
index dcc4d50be1..39b2fa793f 100644
--- a/src/Generator.Tests/GeneratorTest.cs
+++ b/src/Generator.Tests/GeneratorTest.cs
@@ -60,7 +60,7 @@ public virtual void Preprocess(Driver driver, ASTContext ctx)
{
}
- public virtual void Postprocess(Driver driver, ASTContext lib)
+ public virtual void Postprocess(Driver driver, ASTContext ctx)
{
}
diff --git a/src/Generator/Library.cs b/src/Generator/Library.cs
index 0b52bc3108..bd32595eb4 100644
--- a/src/Generator/Library.cs
+++ b/src/Generator/Library.cs
@@ -20,7 +20,7 @@ public interface ILibrary
///
/// Do transformations that should happen after passes are processed.
///
- void Postprocess(Driver driver, ASTContext lib);
+ void Postprocess(Driver driver, ASTContext ctx);
///
/// Setup the driver options here.
diff --git a/tests/CSharpTemp/CSharpTemp.cs b/tests/CSharpTemp/CSharpTemp.cs
index e7f276c60e..e58add3fd9 100644
--- a/tests/CSharpTemp/CSharpTemp.cs
+++ b/tests/CSharpTemp/CSharpTemp.cs
@@ -74,7 +74,7 @@ public override void Preprocess(Driver driver, ASTContext ctx)
ctx.SetClassAsValueType("TestCopyConstructorVal");
}
- public override void Postprocess(Driver driver, ASTContext lib)
+ public override void Postprocess(Driver driver, ASTContext ctx)
{
new CaseRenamePass(
RenameTargets.Function | RenameTargets.Method | RenameTargets.Property | RenameTargets.Delegate,