Comments (1)
Your project is a work in progress?
The project itself is pretty stable and used by several production quality dependencies. It gets updates when Clang itself gets updates (about every 6mo) and when there is an ask for a new ffeature.
but it looks like I could use your framework to build a C# interface for https://github.com/infiniflow.
I'm not familiar with that project in particular, but ClangSharp supports generating 1-to-1 blittable P/Invoke bindings to many types of C (and a smaller subset of C++) headers. It's known to work well with libraries like Windows SDK
( D3D9
, D3D10
, D3D11
, D3D12
, D2D1
, DWrite
, Win32
, Gdiplus
, WIC
, XAudio2
, etc), Vulkan
, Xlib
, Xcb
, Wayland
, PulseAudio
, and much more.
So provided your project has a generally stable C ABI, it should be possible to generate bindings for it.
from clangsharp.
Related Issues (20)
- Bitfield generations for bools generate invalid comparison expressions (and errors) HOT 2
- "Alias" style typedefs are being omitted in bindgen for not having a definition, but then generating bad bindings HOT 4
- PInvokeGenerator throws System.AccessViolationException when traversing steam_api_internal.h in Steamworks SDK HOT 2
- Unsupported type: 'CX_TypeClass_MemberPointer'
- CMake Error: The source directory does not appear to container CMakeLists.txt HOT 2
- Segmentation fault after manually building libClangSharp.so
- Incorrect enum base type
- More verbose "Log Exclusions" Option?
- The generated .cs file doesn't work (Unhandled exception. System.EntryPointNotFoundException) HOT 5
- AccessViolationException in ClangSharp.CXXMethodDecl.VtblIndex (ClangSharp.Interop.clangsharp.Cursor_getVtblIdx) HOT 1
- How to use wildcard in `--with-using`?
- Support generating equality operators or IEquattable<T> implementation in C# via ClangSharpPInvokeGenerator HOT 2
- Unable to find package libClangSharp.runtime.linux-arm64 with version (>= 17.0.4) HOT 1
- System.UnauthorizedAccessException: Access to the path is denied HOT 2
- How to include a system header required by the file to parse HOT 2
- Standardization of XML Output HOT 1
- Built Native failed HOT 3
- Latest 18.1.0 release breaks type remapping for args with spaces in them HOT 2
- Passing `generate-file-scoped-namespaces` results in extra curly brace being added to end of file HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clangsharp.