mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
UPU_S10/GS1: properly expose iso3166_alpha2()
; add UPU_S10 to tcl
This commit is contained in:
@ -1428,4 +1428,9 @@ INTERNAL char gs1_check_digit(const unsigned char source[], const int length) {
|
||||
return itoc((10 - (count % 10)) % 10);
|
||||
}
|
||||
|
||||
/* Helper to expose `iso3166_alpha2()` */
|
||||
INTERNAL int gs1_iso3166_alpha2(const unsigned char *cc) {
|
||||
return iso3166_alpha2((const char *) cc);
|
||||
}
|
||||
|
||||
/* vim: set ts=4 sw=4 et : */
|
||||
|
Reference in New Issue
Block a user