mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
The problem with the latter is that a C string is null terminated, but we might have null characters in our string. Furthermore, the stringWithCxxString: can do a little extra work, like check if the string is NULL_STR or (after next commit) fix redundantly encoded multi-byte sequences.