[cairo] [patch] cairo sanity checking
Carl Worth
cworth at east.isi.edu
Tue May 18 13:07:56 PDT 2004
On Tue, 18 May 2004 10:26:29 -0400, graydon hoare wrote:
> this patch adds a simple sanity-checking routine to cairo. I've found,
> so far, one way in which the cairo_t goes "insane" during operations
> (further patch follows) so I thought I'd add a simple place to add
> further sanity checks as pre- and post-conditions on each user-level
> operation.
>
> comments? ok to commit?
This looks like a pretty reasonable thing to add.
If we're going to add the usage of assert to the code, do we need some
corresponding ./configure magic to allow users that don't want it to
turn it off?
-Carl
More information about the cairo
mailing list