Rick Mann wrote:
I'm doing some stuff with USB, and the example code I'm using uses
IOServiceAddMatchingNotification() to add a pointer to a C callback to
get notified when things happen on the USB bus.
In C++, one typically uses the refcon parameter in these APIs to pass a
pointer to the C++
Being somewhat new to Cocoa, I often wonder if there's a better way to
do things.
I'm doing some stuff with USB, and the example code I'm using uses
IOServiceAddMatchingNotification() to add a pointer to a C callback to
get notified when things happen on the USB bus.
In C++, one typically