Bug 1344629 - Part 2: Add nsTStringRepr as the new root of the string hierarchy. r=dbaron

I've named it after the similar ns(C)StringRepr in the rust bindings code.

This is just the minimal definition of the structure. Bulk move of methods coming in next patch.

MozReview-Commit-ID: 4aQrpIWRTm7
This commit is contained in:
David Major
2017-03-14 10:01:35 +13:00
parent 12c3fabe91
commit 27f80222ac
5 changed files with 66 additions and 28 deletions

View File

@@ -9,6 +9,7 @@
#define CharT_is_char 1
#define nsTAString_IncompatibleCharT nsAString
#define nsTString_CharT nsCString
#define nsTStringRepr_CharT nsCStringRepr
#define nsTFixedString_CharT nsFixedCString
#define nsTAutoString_CharT nsAutoCString
#define nsTSubstring_CharT nsACString