Upvoted. SQLITE as an API does so many things right:
- Providing it's own malloc/free "proxies" to work away with different linked CRT versions (Microsoft)
- Prefixing ("namespacing") everything, and not exporting symbols outside of the API
- Configuration of the API before it's started, where it makes sense (threading model for example)
- Ability to retrieve compilation options back (e.g. how it was compiled and with what features)
- many other things
- Providing it's own malloc/free "proxies" to work away with different linked CRT versions (Microsoft) - Prefixing ("namespacing") everything, and not exporting symbols outside of the API - Configuration of the API before it's started, where it makes sense (threading model for example) - Ability to retrieve compilation options back (e.g. how it was compiled and with what features) - many other things