Skip to content

0.1.2

Latest
Compare
Choose a tag to compare
@badcel badcel released this 16 Jun 20:07
· 14 commits to main since this release
7645c37

This release primarily fixes a bug in case WCharTString was used as a buffer. The given buffer size was implicitly increased by one character, so the native code would be allowed to add a null termination sign after the requested size of the buffer. This is not expected from a public API. If a buffer for a certain amount of characters is created, the caller should know if there is memory for a null termination sign needed or not. It should not be implicitly added for every buffer request.

What's Changed

  • Move platform specific code into a platform class by @badcel in #8
  • Simplify compile time constants by @badcel in #9
  • Add doc comments by @badcel in #10
  • Bug: No automatic null termination in case of buffer scenario by @badcel in #11

Full Changelog: 0.1.1...0.1.2