3 ms·
Bindgen is really awesome, makes is dead-simple to integrate with existing libraries. That said the only place where there's a little friction is around macros
by vvanders 9y ago
Bindgen is really awesome, makes is dead-simple to integrate with existing libraries.
That said the only place where there's a little friction is around macros since they need to be evaluated in context. However it's easy to use another header to declare them as static const/discrete function and then bindgen picks them up just fine.