|
|
@ -101,19 +101,12 @@ namespace CppSharp |
|
|
|
return base.VisitTypedefDecl(typedef); |
|
|
|
return base.VisitTypedefDecl(typedef); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public override bool VisitMemberPointerType(MemberPointerType member, |
|
|
|
public override bool VisitMemberPointerType(MemberPointerType member, TypeQualifiers quals) |
|
|
|
TypeQualifiers quals) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
FunctionType functionType; |
|
|
|
|
|
|
|
if (!member.IsPointerTo(out functionType)) |
|
|
|
|
|
|
|
{ |
|
|
|
{ |
|
|
|
Ignore(); |
|
|
|
Ignore(); |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return base.VisitMemberPointerType(member, quals); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public override bool VisitParameterDecl(Parameter parameter) |
|
|
|
public override bool VisitParameterDecl(Parameter parameter) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (parameter.Type.IsPrimitiveType(PrimitiveType.Null)) |
|
|
|
if (parameter.Type.IsPrimitiveType(PrimitiveType.Null)) |
|
|
@ -139,17 +132,6 @@ namespace CppSharp |
|
|
|
Ignore(); |
|
|
|
Ignore(); |
|
|
|
return base.VisitTemplateSpecializationType(template, quals); |
|
|
|
return base.VisitTemplateSpecializationType(template, quals); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public override bool VisitFunctionType(FunctionType function, TypeQualifiers quals) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
// We don't know how to marshal non-static member functions
|
|
|
|
|
|
|
|
if (function.CallingConvention == CallingConvention.ThisCall) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
Ignore(); |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return base.VisitFunctionType(function, quals); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|