ZBarcode_Version() -> ZBarcode_Version(void)

This commit is contained in:
gitlost 2021-10-27 19:05:57 +01:00
parent 6c8338bda9
commit e8bde7f4c3
3 changed files with 4 additions and 4 deletions

View File

@ -1456,7 +1456,7 @@ unsigned int ZBarcode_Cap(int symbol_id, unsigned int cap_flag) {
} }
/* Return the version of Zint linked to */ /* Return the version of Zint linked to */
int ZBarcode_Version() { int ZBarcode_Version(void) {
if (ZINT_VERSION_BUILD) { if (ZINT_VERSION_BUILD) {
return (ZINT_VERSION_MAJOR * 10000) + (ZINT_VERSION_MINOR * 100) + ZINT_VERSION_RELEASE * 10 return (ZINT_VERSION_MAJOR * 10000) + (ZINT_VERSION_MINOR * 100) + ZINT_VERSION_RELEASE * 10
+ ZINT_VERSION_BUILD; + ZINT_VERSION_BUILD;

View File

@ -407,7 +407,7 @@ extern "C" {
ZINT_EXTERN unsigned int ZBarcode_Cap(int symbol_id, unsigned int cap_flag); ZINT_EXTERN unsigned int ZBarcode_Cap(int symbol_id, unsigned int cap_flag);
/* Return the version of Zint linked to */ /* Return the version of Zint linked to */
ZINT_EXTERN int ZBarcode_Version(); ZINT_EXTERN int ZBarcode_Version(void);
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -1561,7 +1561,7 @@ if (cap & ZINT_CAP_ECI) {
----------------- -----------------
Lastly, the version of the Zint library linked to is returned by: Lastly, the version of the Zint library linked to is returned by:
int ZBarcode_Version(); int ZBarcode_Version(void);
The version parts are separated by hundreds. For instance, version "2.9.1" is The version parts are separated by hundreds. For instance, version "2.9.1" is
returned as "20901". returned as "20901".
@ -1820,7 +1820,7 @@ setting option_2 = 1 or using --vers=1.
A variation of Extended Code 39, Code 93 also supports full ASCII text. Two A variation of Extended Code 39, Code 93 also supports full ASCII text. Two
check characters are added by Zint. By default these check characters are not check characters are added by Zint. By default these check characters are not
shown in the Human Readable Text, but may be shown by setting option_2 = 1 or shown in the Human Readable Text, but may be shown by setting option_2 = 1 or
using vers=1. using --vers=1.
6.1.8.4 PZN (Pharmazentralnummer) 6.1.8.4 PZN (Pharmazentralnummer)
--------------------------------- ---------------------------------