Removal of Mw/Error.h, addition of MwStringPrintIntoBuffer #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "printtobuf"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Mw/Error.h never ended up getting used outside of the Vulkan widget, and MwErrorHandler ended up in its place. So this example updates the Vulkan widget and whatnot to use that.
More importantly, this adds MwStringPrintIntoBuffer. On compilers that support C99, this uses vsnprintf to safely print into a buffer; on compilers that don't, vsprintf is used. The ideal thing to do would maybe be to actually reimplement vsnprintf, but I personally don't feel like it and I don't actually care about security for programs running under Windows 95.