Closed mohd-akram closed 1 year ago
Thanks. You did a pretty good job on this.
I have some comments that you can fix up before merge or I can fix them afterwards. I'll make the comments inline/in review.
@jmcnamara Thanks for the kind comments, I was trying to maintain the same quality level as the rest of the code base, which is pretty high! I've applied all your suggestions except for changing the order of the fields in the options struct. If you wish to proceed with this it will also require changes in some of the tests (they should probably be changed to use named fields). Maybe this can be done separately after the PR since it's a breaking API change.
I've applied all your suggestions except for changing the order of the fields in the options struct.
Fair point.
it will also require changes in some of the tests (they should probably be changed to use named fields)
As far as I remember the tests don't use named fields for ANSIC compatibility (i.e., older versions of MSVC on Windows).
Merged. Thanks.
Added in version 1.1.5.
This extends the realm of
USE_FMEMOPEN
to all temporary files, which is accomplished by usingopen_memstream
. It also adds two new workbook options,output_buffer
andoutput_buffer_size
, to allow outputting to a buffer when filename isNULL
. This allows the library to be used without writing to the filesystem.