On Wednesday 19 June 2002 02.23, Jeffrey D. Wheelhouse wrote:
> Whew, the whole callback architecture is a bit of a learning curve
> for me. I studied some other examples from the code, and came up
> with:
>
> 57: void *cbdata;
> 65: if (cbdataReferenceValidDone(r->data,&cbdata))
> 66: r->handler(cbdata, reply);
> 67: locationRewriteStateFree(r);
>
> Is this it? (patch attached)
Yes, this is the optimized way to do it.
I have updated the programmers guide cbdata examples slight, hopefully
making the whole scheme clearer. Any comments on the documentation?
Regards
Henrik
Received on Wed Jun 19 2002 - 00:38:01 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:41 MST