Reputation
244
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 5
Impact
~7k people reached

  • 0 posts edited
  • 0 helpful flags
  • 6 votes cast
Oct
4
comment pointers to member functions in an event dispatcher
Thanks QuasarDonkey, you beat me to it. You're right, it's pretty ugly but it's commonly used in the Windows API, pthreads and lower level Mac OS X APIs and... everywhere! I usually hide the free functions that handles the callbacks in my implementation files in the anonymous namespace. C# style delegates calling back to members looks nicer, but it just got in the way of getting things done for me.
Jun
12
comment OpenGL ES Framebuffer creation problem
Thanks for the reply, Those functions are ES1 only. I came back to my issue a couple of days ago and discovered that some legacy code was still trying to create a framebuffer with my UIView.