CppSharp
CppSharp copied to clipboard
Tools and libraries to glue C/C++ APIs to high-level languages
##### Brief Description Investigate how we can use these to provide more optimized bindings. https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-9.0/function-pointers
Consider a dummy template: ```C++ template struct Test { }; ``` Checking `Class.IsTemplate()` on the parsed entity returns false. Apparently the declaration should have `IsDependent = true` in order to...
I am just trying to iterate around parsed AST entities in `ILibrary::Preprocess()`. Simple example: ```C++ struct Base { private: void test() {} }; ``` Now you might ask why you...
I just found this very promising project and started playing with it. I was trying to convert a bunch of c++ headers to c# including this function which is just...
#### Brief Description When used on QtCore's "qhashfunctions.h", CppSharp 1.0.1 fails with the message: ``` (0,0): error: cannot mangle this template type parameter type yet (0,0): error: cannot mangle this...
Hi. I see that https://github.com/mono/CppSharp/packages updated regularly. How I can download latest packages from this repository? I tried to use https://nuget.pkg.github.com/mono/index.json url, but seems like I don't have permissions to...
##### Brief Description When code generation is targeting .NET 7, `LibraryImport` should be used in place of `DllImport` as this will pre-generate marshalling operations normally performed at runtime. When framework...
##### Brief Description I am working on making bindings for a C++ game engine called Panda3D. When I feed in the built SOs and headers, CppSharp simply segfaults in the...
1. In the CppSharp solution is used many various ways to produce messages/logs like CppSharp.Diagnostics, Console.WriteLine, native stdout\stderr (printf), CppSharp.Utils.FSM.ConsoleWriter. Finally all messages are listed at the Console and it's...
I am trying to build CppSharp for arm64, but i do not know how to generate bindings(CppSharp/src/CppParser/Bindings/CSharp/aarch64-linux-gnu-cxx11abi), can anyone help me?