ClangSharp icon indicating copy to clipboard operation
ClangSharp copied to clipboard

Clang bindings for .NET written in C#

Results 118 ClangSharp issues
Sort by recently updated
recently updated
newest added

See the discussion at https://github.com/microsoft/win32metadata/issues/994#issuecomment-1474047251 for details. Below is an example. Another example that follows the same pattern is https://github.com/microsoft/win32metadata/issues/271#issuecomment-783119742. ``` EXTERN_C const CLSID CLSID_FileOpenDialog; #ifdef __cplusplus class DECLSPEC_UUID("DC1C5A9C-E88A-4dde-A5A1-60F82A20AEF7") FileOpenDialog;...

As the title says. Additionally, each helper function also adds in all the same usings and redeclares the namespaces. I would instead expect that the code is injected at the...

Let's take for example a library like [coolscrollbars](https://www.codeproject.com/Articles/1084/Custom-Scrollbar-Library-version-1-1) (written in C but compiles to a static library, supports only x86 currently, uses static c runtime, is untested on x64 and...

For example, I want to remap structure field from: ```cs int Something.type; ``` to: ```cs SomethingType Something.type; ``` As concept, I can use `--remap-type Something.type=SomethingType`.

I am encountering an issue while parsing code with ESPMode::ThreadSafe as a template argument using version 18.0.1. The problematic code snippet is as follows: ```c++ struct MONOSAMPLE_API FAuto_ExportProperty { TSharedPtr...

# XML Serialization When the ClangSharp P/Invoke generator operates in output mode `Xml`, the generator outputs Xml data that includes the information the generator has inferred by processing the output...

I've been having this issue for as long as I can remember and I finally decided to track it down and it seems to be manifesting when declaring `generate-file-scoped-namespaces`. Here's...

I struggled to find documentation on the format of the PInvoke generator when XML output mode is chosen. In my case I am generating bindings for a 3rd party library...

As the title says: Having this line in the rsp: ``` --remap __arglist=@params string[] args ``` Used to work in previous versions by now throws: ``` Error: Invalid key/value pair...

When I try outputting to a folder that's created in Visual Studio, whether it's in the command line or as an msbuild event, it says access to that folder is...