Mir

Code review comment for lp:~vanvugt/mir/super-simple-connect

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I suspect someone will complain about reinterpret_cast. But consider the alternative with N callbacks (one for each API function) and each having to contain its own:
   *(static_cast<MirSomething**>(context)) = something;

I prefer the reinterpret_cast.

« Back to merge proposal