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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user