Change PyInit_plpy to external linkage

Peter Eisentraut <peter_e@gmx.net>

Commit: 7b1509d56256fa391d4ae71288be194923a41947
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2011-08-18T10:41:56Z
Releases: 9.1.0
Change PyInit_plpy to external linkage

Module initialization functions in Python 3 must have external
linkage, because PyMODINIT_FUNC does dllexport on Windows-like
platforms.  Without this change, the build with Python 3 fails on
Windows.

Files

PathChange+/−
src/pl/plpython/plpython.c modified +7 −1