utf8n.h (a8384c68797ee022f5fd7bcef5f4cc57863d4042) | utf8n.h (9d53690f0d4e5686e80f034ea584b7a822b356d3) |
---|---|
1/* 2 * Copyright (c) 2014 SGI. 3 * All rights reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * --- 18 unchanged lines hidden (view full) --- 27 28#define UNICODE_AGE(MAJ, MIN, REV) \ 29 (((unsigned int)(MAJ) << UNICODE_MAJ_SHIFT) | \ 30 ((unsigned int)(MIN) << UNICODE_MIN_SHIFT) | \ 31 ((unsigned int)(REV))) 32 33/* Highest unicode version supported by the data tables. */ 34extern int utf8version_is_supported(u8 maj, u8 min, u8 rev); | 1/* 2 * Copyright (c) 2014 SGI. 3 * All rights reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * --- 18 unchanged lines hidden (view full) --- 27 28#define UNICODE_AGE(MAJ, MIN, REV) \ 29 (((unsigned int)(MAJ) << UNICODE_MAJ_SHIFT) | \ 30 ((unsigned int)(MIN) << UNICODE_MIN_SHIFT) | \ 31 ((unsigned int)(REV))) 32 33/* Highest unicode version supported by the data tables. */ 34extern int utf8version_is_supported(u8 maj, u8 min, u8 rev); |
35extern int utf8version_latest(void); |
|
35 36/* 37 * Look for the correct const struct utf8data for a unicode version. 38 * Returns NULL if the version requested is too new. 39 * 40 * Two normalization forms are supported: nfdi and nfdicf. 41 * 42 * nfdi: --- 74 unchanged lines hidden --- | 36 37/* 38 * Look for the correct const struct utf8data for a unicode version. 39 * Returns NULL if the version requested is too new. 40 * 41 * Two normalization forms are supported: nfdi and nfdicf. 42 * 43 * nfdi: --- 74 unchanged lines hidden --- |