Feb. 5, 2015
11:30 a.m.
Stefan Behnel wrote:
Python extension types are just structs at the C level, and struct member names cannot be mangled.
Well, in principle it *could* mangle the names in structs that aren't declared "cdef extern". I didn't do that in Pyrex because it didn't seem necessary; I hadn't anticipated problems like collision with macros. It's probably too late to change it now, since it would break existing code that interoperates with foreign code. -- Greg