All tests passing. Implementation of string and nscharacterset methods completed

This commit is contained in:
Gregory John Casamento 2019-04-12 08:46:41 -04:00
parent f1b48541ae
commit 298f87d24e
4 changed files with 54 additions and 27 deletions

View file

@ -543,7 +543,7 @@
/* A simple array for caching standard bitmap sets */
#define MAX_STANDARD_SETS 15
#define MAX_STANDARD_SETS 20
static NSCharacterSet *cache_set[MAX_STANDARD_SETS];
static Class abstractClass = nil;
static Class abstractMutableClass = nil;
@ -841,10 +841,6 @@ static Class concreteMutableClass = nil;
+ (id) URLFragmentAllowedCharacterSet;
{
// NSString *charSetString = @"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ?/:@-._~!$&'()*+,=";
// NSData *data = [charSetString dataUsingEncoding: NSUTF8StringEncoding];
// char *bytes = [data bytes];
return [self _staticSet: urlFragmentAllowedCharSet
length: sizeof(urlFragmentAllowedCharSet)
number: 15];