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
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to