|
|
@ -858,6 +858,7 @@ namespace CppSharp.Generators.CSharp |
|
|
|
var parameters = new List<Parameter> { param }; |
|
|
|
var parameters = new List<Parameter> { param }; |
|
|
|
GenerateInternalFunctionCall(function, parameters); |
|
|
|
GenerateInternalFunctionCall(function, parameters); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
WriteCloseBraceIndent(); |
|
|
|
} |
|
|
|
} |
|
|
|
else if (decl is Field) |
|
|
|
else if (decl is Field) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -878,9 +879,9 @@ namespace CppSharp.Generators.CSharp |
|
|
|
Helpers.SafeIdentifier(field.OriginalName), marshal.Context.Return); |
|
|
|
Helpers.SafeIdentifier(field.OriginalName), marshal.Context.Return); |
|
|
|
|
|
|
|
|
|
|
|
WriteLine(";"); |
|
|
|
WriteLine(";"); |
|
|
|
|
|
|
|
WriteCloseBraceIndent(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
WriteCloseBraceIndent(); |
|
|
|
|
|
|
|
PopBlock(NewLineKind.BeforeNextBlock); |
|
|
|
PopBlock(NewLineKind.BeforeNextBlock); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|