Undefined calling conventions in Python.h

Fredrik Lundh fredrik at pythonware.com
Wed Jul 23 08:19:06 EDT 2008


Ben Sizer wrote:

> You should put the extern block around the #include <python.h> call
> rather than individual functions, as surely the C calling convention
> should apply to everything within.

Hello?  Python's include files are C++ safe.  I even posted a complete 
compiler session to show that I'm not making that up.

</F>




More information about the Python-list mailing list