gen
gen copied to clipboard
Generate Go bindings for Clang's C API
finding the right combination of compilation flags for locating headers and linking against the right libclang is tricky and not user-friendly as (mainly) there is no `pkg-config` support for neither...
This issue should hold a collection of API names that are not as good looking as they could be - TUResourceUsageKind\* -> TranslationUnitResourceUsageKind* - SC_\* -> StorageClass_* We would need...
It looks like that we do not convert indexCallbacks and indexCallbacksSize to a slice. Are there maybe other instances we overlooked?
FromDirectory has an return argument of type CompilationDatabase_Error which should be the last argument because it is an error and the Go idiom is to put errors last, even if...
For every fixed sized C Array a Go array should be inserted, this includes struct members function parameters return arguments ...
`HeaderFile.addBasicMethods` should be in an API hook of the generate command. This code is very specific and has nothing to do with a generic solution.
Function Pointers are not handled. At best find a way to automatically generate them https://github.com/golang/go/wiki/cgo#function-pointer-callbacks
Each function/method/struct/... which does not belong to the API binding needs documentation
This issue is mostly depended on #81 as IndexerCallbacks consists mainly of function pointers.
- The linters should handle only code that is not included in the "API binding" - Resolve all errors