Skip to content
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

Auto-generate ammer definitions #21

Open
Aurel300 opened this issue Oct 3, 2019 · 0 comments
Open

Auto-generate ammer definitions #21

Aurel300 opened this issue Oct 3, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@Aurel300
Copy link
Owner

Aurel300 commented Oct 3, 2019

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.

@Aurel300 Aurel300 added the enhancement New feature or request label Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant