Skip to content

Conversation

@rsuderman
Copy link
Contributor

Add memstream.h with MemStream and FprintAdapter classes that provide a FILE* interface backed by memory. On Linux, uses open_memstream. On Windows, uses a temporary file approach for compatibility.

Update logging.h to use the new cross-platform FprintAdapter, making FprintToString an alias for backward compatibility.

Add memstream.h with MemStream and FprintAdapter classes that provide
a FILE* interface backed by memory. On Linux, uses open_memstream.
On Windows, uses a temporary file approach for compatibility.

Update logging.h to use the new cross-platform FprintAdapter,
making FprintToString an alias for backward compatibility.

Signed-off-by: Rob Suderman <rob.suderman@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant