On Thu, 19 Dec 2013 01:55:10 +1100, Chris Angelico <ros...@gmail.com> wrote:
Sure, but you can figure out whether p is a local struct or a local
pointer to some other struct by looking at its declaration. Do you
also need to look at every usage of it?

C is a glorified macro assembler. So the -> operator is not analogous to the dot operator, it's Syntactic sugar:

p-> a. Is really
(*p).a

--
DaveA

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to