Auto-generate ammer definitions
Aurel300 opened this issue · 0 comments
Aurel300 commented
It would be nice to have tools which could detect which methods and variables should be declared in the ammer library definition. Possible methods:
- parse doxygen annotations in header(s)
- list symbols defined in the compiled dynamic library - loses information about opaque types/pointers; no defines
- parse header looking for a particular pattern (e.g.
LUA_API
in lua) - https://github.com/eqrion/cbindgen
All of this can go horribly wrong and will need manual work for nearly any library, but tools could still make the process less tedious.