mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-24 05:17:05 +00: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