mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-20 02:05:11 -04:00
Add version information to zint.h and increment release version
Relates to #51
This commit is contained in:
parent
6115a3f8b6
commit
e7858dfe98
11 changed files with 109 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue