- Changed kiwi_builder_init_stream() to return kiwi_stream_object_t by value instead of pointer
- Eliminates memory management ambiguity and potential leaks
- Simpler and safer API following standard C callback patterns
- Updated CStreamAdapter to work with value semantics
- Added stddef.h include for C compatibility
- Updated documentation with corrected examples
- Backward incompatible but safer API design
Co-authored-by: bab2min <19266222+bab2min@users.noreply.github.com>
- Replace kiwi_stream_provider_t and kiwi_chunked_stream_provider_t with kiwi_stream_object_t
- Add kiwi_stream_read_func, kiwi_stream_seek_func, kiwi_stream_close_func callbacks
- Implement CStreamAdapter class for proper C++ istream integration
- Remove kiwi_builder_init_chunked_stream function - unified API with kiwi_builder_init_stream
- Update function signature to accept stream_object_factory and filename parameters
- Update documentation in StreamProvider.md with new API usage examples
- Maintain backward compatibility through modern stream-like interface
Co-authored-by: bab2min <19266222+bab2min@users.noreply.github.com>