30 second guide to C pointers, from Alice in Wonderland : `It's long,' said the Knight, `but very, very beautiful. Everybody that hears me sing it -- either it brings the tears into their eyes, or else -- ' `Or else what?' said Alice, for the Knight had made a sudden pause. `Or else it doesn't, you know. The name of the song is called "Haddocks' Eyes."' `Oh, that's the name of the song, is it?' Alice said, trying to…
typedef hidden pointer -> object -> dictionary -> attribute object -> linked list -> object
Then the whole thing can start again from the last object. At both the linked list and dictionary points the pointers have been cast to void. During development there was linked list in place of the dictionary. Since this was before I wrote output debuging involved manually walking the two linked lists.
Else where a function takes a void * array of structs yet needs to access the contents and thus requires a pointer to an accessor function.
I love C but it can get confusing. My plan is to spend the next few weeks in recovery learning RoR.