|
|
@ -365,12 +365,8 @@ namespace CppSharp.Generators.CSharp |
|
|
|
{ |
|
|
|
{ |
|
|
|
var paramType = parameter.Type; |
|
|
|
var paramType = parameter.Type; |
|
|
|
|
|
|
|
|
|
|
|
Class @class; |
|
|
|
if (parameter.Kind == ParameterKind.HiddenStructureReturn) |
|
|
|
if (paramType.Desugar().IsTagDecl(out @class) |
|
|
|
return "global::System.IntPtr"; |
|
|
|
&& ContextKind == CSharpTypePrinterContextKind.Native) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return string.Format("{0}.Internal", @class.Name); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return paramType.Visit(this); |
|
|
|
return paramType.Visit(this); |
|
|
|
} |
|
|
|
} |
|
|
|