[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: RES: Userdata
- From: André de Leiradella <leiradella@...>
- Date: Mon, 22 Nov 2004 23:06:44 -0300
>And this is precisely the reason why any well designed API should provide
>a void * pointer to a private data structure that is passed on to callbacks.
>I suggest you ask the authors of the library to add such a pointer
>to the rfbClient structure. There are private data pointers in other
>structures, so they certainly know about the issue.
I'll do that, I just thought there could be a solution not involving changing the structure.
And thanks for the tips on your answer about strange stack behaviour, callbacks are probably the source of the problem, I'll take a look at them.
Andre de Leiradella