Add missing method and rename in header.

This commit is contained in:
Gregory John Casamento 2019-04-09 05:27:28 -04:00
parent 574fc45c0b
commit 6e843573af
2 changed files with 8 additions and 1 deletions

View file

@ -107,7 +107,7 @@ extern "C" {
/**
* Returns allowed characers for URL host component.
*/
+ (id) URLFragmentAllowedCharacterSet;
+ (id) URLHostAllowedCharacterSet;
/**
* Returns allowed characers for URL password component.

View file

@ -874,6 +874,13 @@ static Class concreteMutableClass = nil;
number: 0];
}
+ (id) URLHostAllowedCharacterSet
{
return [self _staticSet: urlHostAllowedCharSet
length: sizeof(urlHostAllowedCharSet)
number: 0];
}
- (NSData*) bitmapRepresentation
{
BOOL (*imp)(id, SEL, unichar);