Move the version numbers from the interface of the version module into a new

implementation. Allow for release candidates to be specified and disinguished.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4260 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2009-09-28 20:10:01 +00:00
parent 3c6e8087f1
commit 7b847321a8
20 changed files with 165 additions and 89 deletions

View File

@@ -6,7 +6,7 @@
/* */
/* */
/* */
/* (C) 1998-2008, Ullrich von Bassewitz */
/* (C) 1998-2009, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
@@ -39,16 +39,16 @@
/*****************************************************************************/
/* Data */
/* Code */
/*****************************************************************************/
#define VER_MAJOR 2U
#define VER_MINOR 12U
#define VER_PATCH 9U
const char* GetVersionAsString (void);
/* Returns the version number as a string in a static buffer */
#define VERSION ((VER_MAJOR * 0x100) + (VER_MINOR * 0x10) + VER_PATCH)
unsigned GetVersionAsNumber (void);
/* Returns the version number as a combined unsigned for use in a #define */