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
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: cast<MirSomethi ng**>(context) ) = something;
*(static_
I prefer the reinterpret_cast.