mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Add version information to zint.h and increment release version
Relates to #51
This commit is contained in:
@ -291,7 +291,7 @@ int ps_plot(struct zint_symbol *symbol) {
|
||||
|
||||
/* Start writing the header */
|
||||
fprintf(feps, "%%!PS-Adobe-3.0 EPSF-3.0\n");
|
||||
fprintf(feps, "%%%%Creator: Zint %s\n", ZINT_VERSION);
|
||||
fprintf(feps, "%%%%Creator: Zint %d.%d.%d\n", ZINT_VERSION_MAJOR, ZINT_VERSION_MINOR, ZINT_VERSION_RELEASE);
|
||||
if ((ustrlen(local_text) != 0) && (symbol->show_hrt != 0)) {
|
||||
fprintf(feps, "%%%%Title: %s\n", local_text);
|
||||
} else {
|
||||
|
@ -98,7 +98,10 @@ extern "C" {
|
||||
struct zint_render *rendered;
|
||||
};
|
||||
|
||||
|
||||
#define ZINT_VERSION_MAJOR 2
|
||||
#define ZINT_VERSION_MINOR 5
|
||||
#define ZINT_VERSION_RELEASE 1
|
||||
|
||||
/* Tbarcode 7 codes */
|
||||
#define BARCODE_CODE11 1
|
||||
#define BARCODE_C25MATRIX 2
|
||||
|
Reference in New Issue
Block a user