[cairo] API Shakeup: cairo_output_stream_t and cairo_surface_finish()

Jost Boekemeier jost2345 at yahoo.de
Fri Feb 25 03:59:20 PST 2005


Ah, I now understand; you want to "close" the resource
as early as possible.  In this case, yes, the
"destroy" callback is okay. 


> This can also be done by setting the python file 
> object as user data on the surface

If nobody can register a destroy (close) callback for
my socket, I think this would be okay, too. 

I want to avoid closing the socket more than once or 
closing it too early.  I think I can accomplish this
with your first proposal by always passing NULL for 
the "destroy" CB.


Jost



	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de



More information about the cairo mailing list