On Mon, 28 Aug 2023, Patrick Monnerat via curl-library wrote:
I think letting the array update to the caller's responsibility is much simpler and does not bring much bloat to the calling program.
I made a first draft of a PR for how the array based API could work: https://github.com/curl/curl/pull/11750 For testing and discussing. The API has not been set yet. -- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html