diff --git a/src/Generator/LibraryHelpers.cs b/src/Generator/LibraryHelpers.cs index ef7fd9bf..d0f5937a 100644 --- a/src/Generator/LibraryHelpers.cs +++ b/src/Generator/LibraryHelpers.cs @@ -18,12 +18,12 @@ namespace Cxxi public interface ILibrary { /// - /// Do transformations that should happen before processing here. + /// Do transformations that should happen before passes are processed. /// void Preprocess(LibraryHelpers g); /// - /// Do transformations that should happen after processing here. + /// Do transformations that should happen after passes are processed. /// void Postprocess(LibraryHelpers g); diff --git a/src/Generator/Passes/FunctionToStaticMethodPass.cs b/src/Generator/Passes/FunctionToStaticMethodPass.cs index c0f9ecbe..db0b663c 100644 --- a/src/Generator/Passes/FunctionToStaticMethodPass.cs +++ b/src/Generator/Passes/FunctionToStaticMethodPass.cs @@ -26,11 +26,11 @@ namespace Cxxi.Passes if (@class == null) return false; - // Clean up the name of the function now that it will be an instance method. + // Clean up the name of the function now that it will be a static method. function.Name = function.Name.Substring(@class.Name.Length); function.ExplicityIgnored = true; - // Create a new fake method so it acts as an instance method. + // Create a new fake method so it acts as a static method. var method = new Method() { Namespace = @class.Namespace,