Remove Rust URL parser CAPI

Part 2 for #58
This commit is contained in:
wolfbeast 2018-03-13 10:21:40 +01:00 committed by Roy Tam
commit 0429ca95e0
15 changed files with 0 additions and 854 deletions

View file

@ -65,19 +65,6 @@ static LazyLogModule gStandardURLLog("nsStandardURL");
//----------------------------------------------------------------------------
#ifdef MOZ_RUST_URLPARSE
extern "C" int32_t c_fn_set_size(void * container, size_t size)
{
((nsACString *) container)->SetLength(size);
return 0;
}
extern "C" char * c_fn_get_buffer(void * container)
{
return ((nsACString *) container)->BeginWriting();
}
#endif
static nsresult
EncodeString(nsIUnicodeEncoder *encoder, const nsAFlatString &str, nsACString &result)
{