Our great sponsors
-
-
This reminded me of code I wrote years ago that does something similar that instead of precompiling struct conversion data it relied on C macros. Here you can see the example usage and here you can find the source code. It was never finished but I guess it works pretty well with basic types and I believe I somewhat managed to make it work with nested structs as well. Macros made debugging not easy :)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Interestingly enough I also wrote a C Discord API lib and had a similar 'preprocessor-based' approach! The source code is here, and you can find some usage examples here!