Skip to content

V3.0.0

Latest
Compare
Choose a tag to compare
@mickjc750 mickjc750 released this 23 Aug 09:42

V3.0.0

New features:

  • strview_split_all() - split by delimiters into an array of views
  • strview_dequote() - remove quotes from a view
  • strbuf_to_cstr() - removes strbuf metadata to produce a naked heap allocated string
  • strbuf_printf() - now provides format checking

Bug fixes:

  • Fixed issue #6 affecting strbuf_append_printf()
  • Fixed bug in buffer_vcat(), which would only have consequences if exceeding a buffer size of INT_MAX
  • strbuf_read() is supposed to append to a buffer, but wasn't doing that.

Other changes:

  • Removed strbuf_register_default_allocator(), now a default allocator may be provided at link time.
  • Renamed strbuf_read() to strbuf_append_read()
  • Cleaned up & added some examples