Add --disable-v1-string-abi option to remove backwards-compatible support for the nsAString vtable. Bug 273424, r+sr=darin.

git-svn-id: svn://10.0.0.236/trunk@168238 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2005-01-24 16:44:41 +00:00
parent 645712b67e
commit 348b3c5fdb
24 changed files with 923 additions and 826 deletions

View File

@@ -52,7 +52,9 @@
class nsAString;
class nsObsoleteAString;
#ifdef MOZ_V1_STRING_ABI
class nsSubstring;
#endif
class nsSubstringTuple;
class nsString;
class nsAutoString;
@@ -70,7 +72,9 @@ class nsXPIDLString;
class nsACString;
class nsObsoleteACString;
#ifdef MOZ_V1_STRING_ABI
class nsCSubstring;
#endif
class nsCSubstringTuple;
class nsCString;
class nsCAutoString;
@@ -86,6 +90,11 @@ class nsXPIDLCString;
* typedefs for backwards compatibility
*/
#ifndef MOZ_V1_STRING_ABI
typedef nsAString nsSubstring;
typedef nsACString nsCSubstring;
#endif
typedef nsString nsAFlatString;
typedef nsSubstring nsASingleFragmentString;