untemplatize |nsPromiseFlat[C]String| so windows and linux can build

git-svn-id: svn://10.0.0.236/branches/STRING_081_BRANCH@90887 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%mozilla.org
2001-03-30 13:15:41 +00:00
parent b146859b40
commit 7791c7b9e8
38 changed files with 760 additions and 252 deletions

View File

@@ -42,6 +42,11 @@ static const char* kPossibleNull = "Error: possible unintended null in string";
static const char* kNullPointerError = "Error: unexpected null ptr";
static const char* kWhitespace="\b\t\r\n ";
const nsBufferHandle<char>*
nsCString::GetFlatBufferHandle() const
{
return NS_REINTERPRET_CAST(const nsBufferHandle<char>*, 1);
}
static void CSubsume(nsStr& aDest,nsStr& aSource){
if(aSource.mStr && aSource.mLength) {