Re: cbdata

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Thu, 12 Jul 2001 12:32:57 -0600 (MDT)

On Fri, 13 Jul 2001, Adrian Chadd wrote:

> .. oh. I see what you're doing in the API now. Yup, it was the meeting. :-)
> However, isn't the callback data still potentially invalid data?

My understanding is that it may become invalid. Thus, the callback
must call cbdataValid() before accessing the pointer. I think Henrik
is just trying to avoid calling the callback if the data is already
invalid (and decrement reference count at the same time).

Alex.
Received on Thu Jul 12 2001 - 12:33:16 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:07 MST