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:
@@ -48,10 +48,14 @@
|
||||
#endif
|
||||
|
||||
// convert fragment to |const substring_type&|
|
||||
#ifdef MOZ_V1_STRING_ABI
|
||||
#define TO_SUBSTRING(_v) \
|
||||
( (_v)->mVTable == obsolete_string_type::sCanonicalVTable \
|
||||
? *(_v)->AsSubstring() \
|
||||
: (_v)->ToSubstring() )
|
||||
#else
|
||||
#define TO_SUBSTRING(_v) (*(_v))
|
||||
#endif
|
||||
|
||||
// define nsSubstringTuple
|
||||
#include "string-template-def-unichar.h"
|
||||
|
||||
Reference in New Issue
Block a user