ObjFW  Diff

Differences From Artifact [b232b71e36]:

To Artifact [89a4050018]:


14
15
16
17
18
19
20
21
22

23
24
25

26
27
28

29
30
31
32
33
34
35
36
 * file.
 */

#import "OFString.h"

@interface TableGenerator: OFObject
{
	of_unichar_t upperTable[0x110000];
	of_unichar_t lowerTable[0x110000];

	of_unichar_t casefoldingTable[0x110000];
	BOOL upperTableUsed[0x1100];
	BOOL lowerTableUsed[0x1100];

	char casefoldingTableUsed[0x1100];
	size_t upperTableSize;
	size_t lowerTableSize;

	size_t casefoldingTableSize;
}

- (void)readUnicodeDataFileAtPath: (OFString*)path;
- (void)readCaseFoldingFileAtPath: (OFString*)path;
- (void)writeTablesToFileAtPath: (OFString*)path;
- (void)writeHeaderToFileAtPath: (OFString*)path;
@end







|
|
>

|
|
>

|
|
>








14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
 * file.
 */

#import "OFString.h"

@interface TableGenerator: OFObject
{
	of_unichar_t uppercaseTable[0x110000];
	of_unichar_t lowercaseTable[0x110000];
	of_unichar_t titlecaseTable[0x110000];
	of_unichar_t casefoldingTable[0x110000];
	BOOL uppercaseTableUsed[0x1100];
	BOOL lowercaseTableUsed[0x1100];
	char titlecaseTableUsed[0x1100];
	char casefoldingTableUsed[0x1100];
	size_t uppercaseTableSize;
	size_t lowercaseTableSize;
	size_t titlecaseTableSize;
	size_t casefoldingTableSize;
}

- (void)readUnicodeDataFileAtPath: (OFString*)path;
- (void)readCaseFoldingFileAtPath: (OFString*)path;
- (void)writeTablesToFileAtPath: (OFString*)path;
- (void)writeHeaderToFileAtPath: (OFString*)path;
@end