An open API service indexing awesome lists of open source software.

https://github.com/ousttrue/clangcaster

clang parse then generate dll import
https://github.com/ousttrue/clangcaster

Last synced: 11 months ago
JSON representation

clang parse then generate dll import

Awesome Lists containing this project

README

          

# ClangCaster

* Parse c++ header
* Generate enum, struct and DLLImport of CSharp

## folder
### CIndex

* require environment variable `PATH` contains path to `libclang.dll` (LLVM-10.0)
* netstandard2.0
* Parse clang-c/Index.h and is generated by ClangCaster

### ClangAggregator

* Parse c++ header by CIndex and aggregator type info.

### ClangCaster

* Aggregate type info by ClangAggregator and Generate C# code.
* using DotLiquid.

## first version

Generated https://github.com/ousttrue/regenerator .

## implementation

### libclang

* [x] done

### windows.h

* [x] rename struct tagXXX