[cairo] API completeness of reference/user_data pairs
Carl Worth
cworth at cworth.org
Tue Feb 13 17:08:29 PST 2007
On Mon, 05 Feb 2007 11:06:01 -0500, Behdad Esfahbod wrote:
> On Mon, 2007-02-05 at 09:46 +0800, Steve Chaplin wrote:
> >
> > The cairo manual section "Creating a language binding / Memory
> > Management",
> > says (regarding the problem of subclassing) "This is not easily
> > fixable
> > without creating memory leaks, and it's probably best to simply forbid
> > deriving from the language objects." - and that's what pycairo does
> > (with the
> > exception of cairo.Context).
>
> So, anyone knows about the roots of that sentence? Is it just from
> before the user-data APIs landing in? Carl?
Most of the bindings guide sprang full-formed from the mouth of Owen
Taylor, (I believe it was after he did a careful review of the python
bindings). So you might ask him about it.
-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/20070213/bd7dff2a/attachment.pgp
More information about the cairo
mailing list