lvc / abi-compliance-checker

A tool for checking backward API/ABI compatibility of a C/C++ library
https://lvc.github.io/abi-compliance-checker/
GNU Lesser General Public License v2.1
621 stars 76 forks source link

Changes to incomplete types are marked as API breaks #96

Open randy408 opened 5 years ago

randy408 commented 5 years ago

libspng has a context handle defined as an incomplete type (typedef struct spng_ctx spng_ctx;), it's only possible to declare it as a pointer, all API functions take a pointer so the layout of the underlying struct does not affect compatibility. Is there a way to fix this?

https://abi-laboratory.pro/index.php?view=timeline&l=libspng