[Python-Dev] Is __declspec(dllexport) really needed on Windows?
Greg Ewing
greg@cosc.canterbury.ac.nz
Thu, 18 Jul 2002 22:03:47 +1200 (NZST)
Someone told me that Pyrex should be generating
__declspec(dllexport) for the module init func.
But someone else says this is only needed if
you're importing a dll as a library, and that
it's not needed for Python extensions.
Can anyone who knows what they're doing on
Windows give me a definitive answer about
whether it's really needed or not?
Thanks,
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg@cosc.canterbury.ac.nz +--------------------------------------+