[cairo] reference counting vs garbage collection

Keith Packard keithp at keithp.com
Tue Jan 4 20:32:23 PST 2005


Around 23 o'clock on Jan 4, Jonathan Brandmeyer wrote:

> There is one significant problem with this solution: It still requires
> the client to provide a FILE*, which is overly burdensome in C++.
> Please at least consider the proposal that I submitted in the message
> titled "C++ bindings".

That is a separable issue. Providing an alternate _create functions which
use callbacks for file operations should suffice there.  We can steal most
of the ideas from the png library, which has such an interface.

I would use the same in nickle as it has non-stdio I/O as well.

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050104/614b061d/attachment.pgp


More information about the cairo mailing list