On 01/05/2006 12:58 PM, Joe Orton wrote: > On Thu, Jan 05, 2006 at 12:48:25PM +0100, Ruediger Pluem wrote:
[..cut..] > > AndrĂ©'s trick of using invented unique pointers by doing: > > static char sentinel; (in global scope) > > f->ctx = &sentinel; > > is neater and avoids the casting mess. (pick a suitable variable name > though :) Thanks Joe for *pointing* me to this. :-) This is really nice trick. I will use it. Regards RĂ¼diger