|
|
|
|
@ -901,8 +901,9 @@ namespace CppSharp.Generators.CLI
@@ -901,8 +901,9 @@ namespace CppSharp.Generators.CLI
|
|
|
|
|
var paramType = param.Type; |
|
|
|
|
if (paramType is PointerType) |
|
|
|
|
{ |
|
|
|
|
paramType = (paramType as PointerType).Pointee; |
|
|
|
|
if (!paramType.IsReference()) |
|
|
|
|
paramMarshal.Prefix = "&"; |
|
|
|
|
paramType = (paramType as PointerType).Pointee; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var typePrinter = new CppTypePrinter(Driver.TypeDatabase); |
|
|
|
|
|