What makes you think functions defined as `static inline` is not in the .h? These are very much not private functions.
Example: https://github.com/axboe/liburing/blob/master/src/include/li...
Example: https://github.com/axboe/liburing/blob/master/src/include/li...
Do you have a relevant example?
Thankfully that particular library do nowadays also provide a _ffi version of the .so as it is such an horror otherwise. But there are other libraries out there that don't do that, where it is almost as big of a hurdle to bind with.