Browse Source

Remove some dead code.

pull/1328/head
João Matos 6 years ago committed by João Matos
parent
commit
060432c2d9
  1. 4
      src/Generator/Generators/C/CppSources.cs

4
src/Generator/Generators/C/CppSources.cs

@ -238,7 +238,6 @@ namespace CppSharp.Generators.Cpp @@ -238,7 +238,6 @@ namespace CppSharp.Generators.Cpp
{
PushBlock(BlockKind.Method, method);
var property = method.AssociatedDeclaration as Property;
GeneratePropertyAccessorSpecifier(method);
NewLine();
@ -256,7 +255,6 @@ namespace CppSharp.Generators.Cpp @@ -256,7 +255,6 @@ namespace CppSharp.Generators.Cpp
{
PushBlock(BlockKind.Method, method);
var property = method.AssociatedDeclaration as Property;
GeneratePropertyAccessorSpecifier(method);
NewLine();
@ -507,8 +505,6 @@ namespace CppSharp.Generators.Cpp @@ -507,8 +505,6 @@ namespace CppSharp.Generators.Cpp
if (needsReturn)
{
var retTypeName = function.ReturnType.Visit(CTypePrinter).ToString();
var ctx = new MarshalContext(Context, CurrentIndentation)
{
ArgName = Helpers.ReturnIdentifier,

Loading…
Cancel
Save