|
|
|
@ -306,9 +306,7 @@ namespace CppSharp.Generators.CSharp
@@ -306,9 +306,7 @@ namespace CppSharp.Generators.CSharp
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
NewLineIfNeeded(); |
|
|
|
|
|
|
|
|
|
GeneratePInvokeMethod(ctor, @class); |
|
|
|
|
NeedNewLine(); |
|
|
|
|
GenerateFunction(ctor, @class); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
foreach (var method in @class.Methods) |
|
|
|
@ -323,9 +321,7 @@ namespace CppSharp.Generators.CSharp
@@ -323,9 +321,7 @@ namespace CppSharp.Generators.CSharp
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
NewLineIfNeeded(); |
|
|
|
|
|
|
|
|
|
GeneratePInvokeMethod(method, @class); |
|
|
|
|
NeedNewLine(); |
|
|
|
|
GenerateFunction(method, @class); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
WriteCloseBraceIndent(); |
|
|
|
@ -334,11 +330,6 @@ namespace CppSharp.Generators.CSharp
@@ -334,11 +330,6 @@ namespace CppSharp.Generators.CSharp
|
|
|
|
|
typePrinter.PopContext(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void GeneratePInvokeMethod(Method method, Class @class) |
|
|
|
|
{ |
|
|
|
|
GenerateFunction(method, @class); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void GenerateStructMarshaling(Class @class) |
|
|
|
|
{ |
|
|
|
|
GenerateStructMarshalingFields(@class); |
|
|
|
|