[cairo] version was: (no subject)

Carl Worth cworth at cworth.org
Wed Aug 10 10:40:04 PDT 2005


On Wed, 10 Aug 2005 13:16:08 -0400 (EDT), Behdad Esfahbod wrote:
> Make it multiply by 100 then, like others, and let
> CAIRO_VERSION_ENCODE get tag too.  If tag is non-null, add
> 9 to the version returned.

Multiply by 100 would work, but all we need is one bit here. The point
of "-head" is to indicate that the code is at a not-yet-precisely-
distinguished point between two actual versions.

I don't want to give CAIRO_VERSION_ENCODE another parameter since it's
something the user is expected to actually use in programs. For
example:

	#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(0,9,0)

And the user would never have any reason to pass a fourth argument
here.

-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/b0403dea/attachment.pgp


More information about the cairo mailing list