On Mon, 11 Aug 2014 18:12:20 +0200 "Nils Chr. Brause" <nilschrbra...@gmail.com> wrote:
> On Mon, Aug 11, 2014 at 8:39 AM, Pekka Paalanen <ppaala...@gmail.com> wrote > > > No, I do not think that is wrong, but are you not writing language > > bindings or a wrapper library, which means you do not know how your code > > will be used? > > > > Yes, I'm writing C++ Bindings. These bindings don't expose the user_data at > all, > because in C++ you can assign class member functions (or even lambda > closures) as event handlers, which have access to their class instance > without > the need of a user user data void pointer. Therefore, the user should not > be able > to mess with it. ;) > Which brings us back to my earlier question, now rephrased differently: are you going to forbid using the same Wayland connection with a 3rd party library? If yes, you're all good. ;-) Thanks, pq _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel