From a9021ea63d19acbd263f665e61bc3c2a4e05c05a Mon Sep 17 00:00:00 2001 From: Dimitar Dobrev Date: Thu, 25 Jun 2015 23:11:19 +0300 Subject: [PATCH] Fixed some typos. Signed-off-by: Dimitar Dobrev --- README.md | 2 +- src/AST/Function.cs | 2 +- src/Generator/Generators/CSharp/CSharpTextTemplate.cs | 2 +- src/Generator/Passes/CheckAbiParameters.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 53ecbee1..0058c8a4 100644 --- a/README.md +++ b/README.md @@ -75,4 +75,4 @@ as part of Google Summer of Code. ## Support -For pressional services related to building custom wrappers and consulting please contact @ddobrev. +For professional services related to building custom wrappers and consulting please contact @ddobrev. diff --git a/src/AST/Function.cs b/src/AST/Function.cs index 2504f915..453434e3 100644 --- a/src/AST/Function.cs +++ b/src/AST/Function.cs @@ -26,7 +26,7 @@ namespace CppSharp.AST Regular, IndirectReturnType, OperatorParameter, - ImplcicitDestructorParameter + ImplicitDestructorParameter } public class Parameter : Declaration, ITypedDecl diff --git a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs index a0ee3016..27c9705e 100644 --- a/src/Generator/Generators/CSharp/CSharpTextTemplate.cs +++ b/src/Generator/Generators/CSharp/CSharpTextTemplate.cs @@ -1838,7 +1838,7 @@ namespace CppSharp.Generators.CSharp var implicitArg = string.Empty; if (dtor.Parameters.Any(parameter => - parameter.Kind == ParameterKind.ImplcicitDestructorParameter)) + parameter.Kind == ParameterKind.ImplicitDestructorParameter)) implicitArg = ", 0"; // Do not delete instance in MS ABI. WriteLineIndent("Internal.{0}({1}{2});", GetFunctionNativeIdentifier(dtor), Helpers.InstanceIdentifier, implicitArg); diff --git a/src/Generator/Passes/CheckAbiParameters.cs b/src/Generator/Passes/CheckAbiParameters.cs index e66eaa0b..9820504e 100644 --- a/src/Generator/Passes/CheckAbiParameters.cs +++ b/src/Generator/Passes/CheckAbiParameters.cs @@ -55,7 +55,7 @@ namespace CppSharp.Passes { method.Parameters.Add(new Parameter { - Kind = ParameterKind.ImplcicitDestructorParameter, + Kind = ParameterKind.ImplicitDestructorParameter, QualifiedType = new QualifiedType(new BuiltinType(PrimitiveType.Int)), Name = "delete" });