|
|
@ -781,13 +781,10 @@ namespace CppSharp.Generators.CSharp |
|
|
|
WriteLine("get"); |
|
|
|
WriteLine("get"); |
|
|
|
WriteStartBraceIndent(); |
|
|
|
WriteStartBraceIndent(); |
|
|
|
|
|
|
|
|
|
|
|
var @return = string.Empty; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (decl is Function) |
|
|
|
if (decl is Function) |
|
|
|
{ |
|
|
|
{ |
|
|
|
var function = decl as Function; |
|
|
|
var function = decl as Function; |
|
|
|
GenerateInternalFunctionCall(function); |
|
|
|
GenerateInternalFunctionCall(function); |
|
|
|
@return = "ret"; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
else if (decl is Field) |
|
|
|
else if (decl is Field) |
|
|
|
{ |
|
|
|
{ |
|
|
|