-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there documentation? #144
Comments
If this is a Windows API, have you checked out https://github.com/microsoft/CsWinRT? |
@StephenHodgson It doesn't include headers that I need. |
What's missing? |
This header is missing: |
There isn't currently any documentation and it's something that should be worked on. The simplest scenario is to get
An example of possible command lines are: https://github.com/microsoft/ClangSharp/blob/master/sources/ClangSharpPInvokeGenerator/Properties/launchSettings.json, which is what is used to generate bindings for Clang and LLVM themselves. I'll try to get something more comprehensive written up with examples, but I don't expect that will be completed today. |
Also if this is Win32 TerraFX might have what you need |
Bumping this again. Trying to figure out how to use this library as it seems like exactly what I need, but stunned there seems to be 0 documentation on how to use it, from an official Microsoft repo no less. Would love even just a basic sample of using it as part of both a project and the command line. |
#214 adds some basic docs on how to use the P/Invoke generator. You can see https://github.com/microsoft/ClangSharp#generating-bindings for more details. Please feel free to request additional information or clarification if its needed and I'll work on updating the docs further. |
Hello,
is there any sort of documentation for ClangSharp?
I'd like to genereate C# wrapper from C/C++ header for Win32 API, can't find any tutorial on how to do that with ClangSharp.
Thanks.
Peter
The text was updated successfully, but these errors were encountered: