ObjFW  Check-in [c628317621]

Overview
Comment:Fix a typo in TableGenerator.m and the resulting unicode.h.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c6283176219df8779df28c56695bc4c102f5a1ff308908ccf46f969b7731c2bb
User & Date: js on 2009-11-10 20:13:45
Other Links: manifest | tags
Context
2009-11-13
14:30
Add -[caseInsensitiveCompare:] and fix -[compare:]. check-in: 35fda90cf5 user: js tags: trunk
2009-11-10
20:13
Fix a typo in TableGenerator.m and the resulting unicode.h. check-in: c628317621 user: js tags: trunk
15:34
Improve of_string_utf8_to_unicode. check-in: 3d007c8393 user: js tags: trunk
Changes

Modified generators/TableGenerator.m from [a5d3d0949f] to [4e245e9c8a].

329
330
331
332
333
334
335
336
337
338
339
340
341

	[f writeString:
	    @"extern const of_unichar_t* const\n"
	    @"    of_unicode_upper_table[OF_UNICODE_UPPER_TABLE_SIZE];\n"
	    @"extern const of_unichar_t* const\n"
	    @"    of_unicode_lower_table[OF_UNICODE_LOWER_TABLE_SIZE];\n"
	    @"extern const of_unichar_t* const\n"
	    @"    of_unicode_lower_table["
	    @"OF_UNICODE_CASEFOLDING_TABLE_SIZE];\n"];

	[pool release];
}
@end







|





329
330
331
332
333
334
335
336
337
338
339
340
341

	[f writeString:
	    @"extern const of_unichar_t* const\n"
	    @"    of_unicode_upper_table[OF_UNICODE_UPPER_TABLE_SIZE];\n"
	    @"extern const of_unichar_t* const\n"
	    @"    of_unicode_lower_table[OF_UNICODE_LOWER_TABLE_SIZE];\n"
	    @"extern const of_unichar_t* const\n"
	    @"    of_unicode_casefolding_table["
	    @"OF_UNICODE_CASEFOLDING_TABLE_SIZE];\n"];

	[pool release];
}
@end

Modified src/unicode.h from [bdd2068f93] to [872df2bd24].

16
17
18
19
20
21
22
23
#define OF_UNICODE_CASEFOLDING_TABLE_SIZE 0x105

extern const of_unichar_t* const
    of_unicode_upper_table[OF_UNICODE_UPPER_TABLE_SIZE];
extern const of_unichar_t* const
    of_unicode_lower_table[OF_UNICODE_LOWER_TABLE_SIZE];
extern const of_unichar_t* const
    of_unicode_lower_table[OF_UNICODE_CASEFOLDING_TABLE_SIZE];







|
16
17
18
19
20
21
22
23
#define OF_UNICODE_CASEFOLDING_TABLE_SIZE 0x105

extern const of_unichar_t* const
    of_unicode_upper_table[OF_UNICODE_UPPER_TABLE_SIZE];
extern const of_unichar_t* const
    of_unicode_lower_table[OF_UNICODE_LOWER_TABLE_SIZE];
extern const of_unichar_t* const
    of_unicode_casefolding_table[OF_UNICODE_CASEFOLDING_TABLE_SIZE];