[cairo] Advertising the version of cairo

Carl Worth cworth at cworth.org
Wed Aug 10 16:00:39 PDT 2005


On Mon, 08 Aug 2005 17:10:49 -0700, Carl Worth wrote:
> As such, I think it's time to start advertising the version of cairo
> that is available. Here's what I think I would like to see in cairo.h
> for this, (assuming a fictitious, future cairo 1.0.1 release):
> 
> 	#define CAIRO_VERSION_MAJOR 1
> 	#define CAIRO_VERSION_MINOR 0
> 	#define CAIRO_VERSION_MICRO 1
> 	#define CAIRO_VERSION_ENCODE(major, minor, micro) (     \
...
> 	#define CAIRO_VERSION CAIRO_VERSION_ENCODE(     \
...
> 	#define CAIRO_VERSION_STRING "1.0.1"
> 
> 	int
> 	cairo_version (void);
> 
> 	const char*
> 	cairo_version_string (void);

OK. Thanks to help from Behdad Esfahbod, those have all been committed
now.

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050810/818f7946/attachment.pgp


More information about the cairo mailing list