Note to self: Nothing’s easy
Reminder: A QTAtomContainer is a Handle, a Handle is a Ptr *, a Ptr is a char *, so a Ptr * is a char **. If you want the data that a Handle points to you get it via *yourHandle. Yowza. Yes, I’m new here.
So, remember:
typedef Handle QTAtomContainer; typedef Ptr * Handle; typedef char * Ptr; // QTAtomContainer is really just // char **I’m comfortable working with pointers and pointers to pointers, but if you didn’t notice that the typedef chain made what looked like a pointer really a pointer to a pointer well, I’m not so good at that. In reality I should have seen ‘Ptr *’ and read “pointer to a pointer”. Ugh. This seriously cost me close to whole night. On a more positive note, CoreData is *the* cat’s meow.
