C question

bjlockie at lockie.ca bjlockie at lockie.ca
Thu May 6 02:12:27 EDT 2010


I saw C code that does:
            PurpleBuddy *b = buddies->data;
            PurplePresence *p = purple_buddy_get_presence(b);

It made me wonder you can't do:
            PurpleBuddy *b = buddies->data;
            PurplePresence *p = b->purple_buddy_get_presence();
It seems logical to me.




More information about the Devel mailing list