Re: Undefined calling conventions in Python.h
On Jul 23, 1:19 pm, Fredrik Lundh <fred...@python ware.comwrote:
In theory, yeah. In practice, if his compiler was somehow not
respecting that, then a quicker fix is to enclose the #include than to
do individual prototypes. Admittedly that might obscure the problem
rather than solve it.
--
Ben Sizer
On Jul 23, 1:19 pm, Fredrik Lundh <fred...@python ware.comwrote:
Ben Sizer wrote:
>
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>
You should put the extern block around the #include <python.hcall
rather than individual functions, as surely the C calling convention
should apply to everything within.
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>
respecting that, then a quicker fix is to enclose the #include than to
do individual prototypes. Admittedly that might obscure the problem
rather than solve it.
--
Ben Sizer
Comment