Issue #58 - Follow-up: Remove Rust binding leftovers

This commit is contained in:
FranklinDM 2024-03-26 01:26:36 +08:00 committed by roytam1
commit 6d154eee11
6 changed files with 2 additions and 166 deletions

View file

@ -1366,17 +1366,3 @@ AppendUCS4ToUTF16(const uint32_t aSource, nsAString& aDest)
aDest.Append(L_SURROGATE(aSource));
}
}
extern "C" {
void Gecko_AppendUTF16toCString(nsACString* aThis, const nsAString* aOther)
{
AppendUTF16toUTF8(*aOther, *aThis);
}
void Gecko_AppendUTF8toString(nsAString* aThis, const nsACString* aOther)
{
AppendUTF8toUTF16(*aOther, *aThis);
}
}