iso4217: remove 191 (HRK), 694 (SLL), 931 (CUC); add 926 (VED)

This commit is contained in:
gitlost 2025-02-07 19:12:32 +00:00
parent b753382353
commit ddedd00d2d
4 changed files with 1028 additions and 404 deletions

View file

@ -1,5 +1,7 @@
/*
* ISO 4217 currency codes generated by "backend/tools/gen_iso4217_h.php"
* ISO 4217 currency codes generated by "backend/tools/gen_iso4217_h.php" based on
* https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-one.xml
* (published 2025-02-04)
*/
/*
libzint - the open source barcode library
@ -40,7 +42,7 @@ static int iso4217_numeric(int cc) {
static const unsigned char codes[125] = {
0x00, 0x11, 0x00, 0x00, 0x11, 0x10, 0x1D, 0x10,
0x11, 0x01, 0x10, 0x04, 0x01, 0x11, 0x10, 0x10,
0x10, 0x01, 0x01, 0x11, 0x00, 0x44, 0x00, 0x90,
0x10, 0x01, 0x01, 0x11, 0x00, 0x44, 0x00, 0x10,
0x01, 0x08, 0x41, 0x40, 0x40, 0x41, 0x04, 0x00,
0x40, 0x40, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00,
0x11, 0x11, 0x10, 0x11, 0x11, 0x11, 0x01, 0x01,
@ -48,11 +50,11 @@ static int iso4217_numeric(int cc) {
0x40, 0x44, 0x00, 0x00, 0x11, 0x00, 0x05, 0x01,
0x11, 0x10, 0x30, 0x00, 0x10, 0x44, 0x40, 0x00,
0x04, 0x44, 0x40, 0x11, 0x01, 0x00, 0x00, 0x04,
0x48, 0x40, 0x00, 0x00, 0x00, 0x04, 0x44, 0x40,
0x48, 0x40, 0x00, 0x00, 0x00, 0x04, 0x04, 0x40,
0x45, 0x00, 0x00, 0x01, 0x00, 0x10, 0x11, 0x11,
0x00, 0x11, 0x11, 0x00, 0x81, 0x00, 0x04, 0x04,
0x04, 0x01, 0x00, 0x14, 0x00, 0x00, 0x44, 0x00,
0x20, 0x00, 0x00, 0xB0, 0x6F, 0xB5, 0xFD, 0xFB,
0x20, 0x00, 0x00, 0xF0, 0x67, 0xB5, 0xFD, 0xFB,
0xBF, 0xBF, 0x3F, 0x47, 0xA4,
};
int b = cc >> 3;