UPU_S10/GS1: properly expose iso3166_alpha2(); add UPU_S10 to tcl

This commit is contained in:
gitlost 2022-12-09 15:56:13 +00:00
parent 53769c6ed1
commit ab7da62a3a
5 changed files with 12 additions and 4 deletions

View file

@ -62,7 +62,7 @@ static int iso3166_numeric(int cc) {
}
/* Whether ISO 3166-1 alpha2 */
INTERNAL int iso3166_alpha2(const char *cc) {
static int iso3166_alpha2(const char *cc) {
static const unsigned char codes[85] = {
0x78, 0x59, 0xDF, 0xEE, 0xEF, 0xBD, 0xDD, 0xDE,
0x27, 0x3F, 0x84, 0x15, 0x80, 0xD4, 0x00, 0x0E,