lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>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.

Thanks again!

Andre de Leiradella