Browse Source

Merge pull request #499 from ddobrev/master

Fixed some typos.
pull/501/head
João Matos 11 years ago
parent
commit
0ce3fce123
  1. 2
      README.md
  2. 2
      src/AST/Function.cs
  3. 2
      src/Generator/Generators/CSharp/CSharpTextTemplate.cs
  4. 2
      src/Generator/Passes/CheckAbiParameters.cs

2
README.md

@ -75,4 +75,4 @@ as part of Google Summer of Code. @@ -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.

2
src/AST/Function.cs

@ -26,7 +26,7 @@ namespace CppSharp.AST @@ -26,7 +26,7 @@ namespace CppSharp.AST
Regular,
IndirectReturnType,
OperatorParameter,
ImplcicitDestructorParameter
ImplicitDestructorParameter
}
public class Parameter : Declaration, ITypedDecl

2
src/Generator/Generators/CSharp/CSharpTextTemplate.cs

@ -1838,7 +1838,7 @@ namespace CppSharp.Generators.CSharp @@ -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);

2
src/Generator/Passes/CheckAbiParameters.cs

@ -55,7 +55,7 @@ namespace CppSharp.Passes @@ -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"
});

Loading…
Cancel
Save