| bio | website | |
|---|---|---|
| location | Dublin, Ireland | |
| age | 33 | |
| visits | member for | 2 years, 3 months |
| seen | Mar 22 at 16:10 | |
| stats | profile views | 6 |
|
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. |