bindgen
bindgen copied to clipboard
Problems with `std::vector`... and more
I'm trying to use this to create bindings for this project. https://github.com/openSUSE/libstorage-ng
But I'm having problems when it comes to collections. I can't find the right incantations I must use in TEMPLATE.yml
to make it work.
To illustrate the problems, I have created a repository with a super-small subset of libstorage-ng (only one struct, one function and one enum). The README in that repo should explain the problem. Please see https://github.com/ancorgs/bindgen-test
we just have gone through a bunch of changes, and possibly more coming. if you'd like to try again on master you might get different results now.