João Matos

Results 318 comments of João Matos
trafficstars

@ReeceSX Seems like an oversight, I think we need to add the following line, along with a test: ```diff case PrimitiveType.Char: + case PrimitiveType.SChar: signed = true; return (targetInfo.CharWidth, targetInfo.CharAlign);...

That looks like a bug for sure, it's for some reason going through a C# only code path, even though it's set up for C++/CLI. Can you try setting up...

Make sure that `CppSharp.CppParser.dll` is inside your bin folder next to other managed DLLs. It may not be automatically copied by VS.

Hey, I think this would be valuable. FIY I worked on Java support as part of Embeddinator project a long time ago as you said, I opted to use JNA...

We need a way to reproduce this, can you minimize your headers into a self contained example that triggers the crash?

There is no option available for this, but you should be able to do it by writing a pass. It should be relatively simple, override `VisitMethod` and check if its...

`DeclConverter` should not be used for this. The class I mentioned is `TranslationUnitPass` defined in `Pass.cs` and the method name should be `VisitMethodDecl` from its base `AstVisitor` in https://github.com/mono/CppSharp/blob/main/src/AST/ASTVisitor.cs#L473.

> > `DeclConverter` should not be used for this. The class I mentioned is `TranslationUnitPass` defined in `Pass.cs` and the method name should be `VisitMethodDecl` from its based `AstVisitor` in...

Hey @ddobrev we should review this soon.