|
|
|
@ -140,11 +140,9 @@ namespace CppSharp.Generators.CSharp |
|
|
|
{ |
|
|
|
{ |
|
|
|
var pointee = pointer.Pointee.Desugar(); |
|
|
|
var pointee = pointer.Pointee.Desugar(); |
|
|
|
|
|
|
|
|
|
|
|
if (pointee.IsPrimitiveType(PrimitiveType.Char) && |
|
|
|
return (pointee.IsPrimitiveType(PrimitiveType.Char) || |
|
|
|
pointer.QualifiedPointee.Qualifiers.IsConst) |
|
|
|
pointee.IsPrimitiveType(PrimitiveType.WideChar)) && |
|
|
|
return true; |
|
|
|
pointer.QualifiedPointee.Qualifiers.IsConst; |
|
|
|
|
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static bool IsConstCharString(QualifiedType qualType) |
|
|
|
public static bool IsConstCharString(QualifiedType qualType) |
|
|
|
|