summaryrefslogtreecommitdiffstats
path: root/bstr
Commit message (Collapse)AuthorAgeFilesLines
* bstr: add function for splitting UTF-8wm42014-01-152-1/+18
|
* bstr: check for overflow in buffer allocationwm42014-01-031-0/+4
| | | | | We're being a little bit lazy here and limit the max allocation to SIZE_MAX/2, which is practically infinite anyway on 64 bit systems.
* bstr: use mp_append_utf8_bstr()wm42013-12-301-19/+4
| | | | Drop usage of the ugly PUT_UTF8() macro.
* bstr: add bstr_xappend functionwm42013-12-302-0/+59
| | | | | | Apparently this can be really useful when being paranoid and trying to avoid too much malloc/realloc, since it can be used to appending into a buffer (with transparent realloc only if the buffer is too small).
* Split mpvcore/ into common/, misc/, bstr/wm42013-12-172-0/+585