Lucas Girouard-Stranks

Results 151 comments of Lucas Girouard-Stranks

With usage of `DisableRuntimeMarshallingAttribute` .NET variadic argument method signatures are not supported; closing this out because `DisableRuntimeMarshallingAttribute` is what should be used for .NET 7+ with C2CS generated bindings.

Hey @shayded-exe, This is a great idea. Partial is already applied to the generated static class, so it makes sense to have it for the generated struct as well. You...

Thanks @shayded-exe for the suggestion. I was experimenting with this before. The main problem was that wrapping a function pointer in a struct is useful for the case when using...

Thanks for link! (Moved to https://github.com/dotnet/csharplang/blob/main/proposals/csharp-11.0/low-level-struct-improvements.md) When .NET 7 / C# 11 is dropped I will be sure to look into this.

Hey @Larkooo, could you provide an example?

When looking into it, with the new version of `castffi` you can do the following for your extract config so there is only one file: ``` { "inputFilePath": "./dojo.h", "targetPlatforms":...

I think there are improvements to be made for both `castffi` and `c2cs` in this case. I never experienced such usage of `union` and `struct` in C before. I can...

> I think that it should be 8 as the struct packing is set to 8 bytes. Yeah I suppose so. If you put up a MR that be great....

Makes sense; sounds like this would go well with the idea of trying to work on right now: C# plugin. Use a C# library to control generating C# code rather...

I found a way forward to implement this. It requires some major refactoring however... I'll be working on it when I can.