Change PyInit_plpy to external linkage
Peter Eisentraut <peter_e@gmx.net>
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
| Path | Change | +/− |
|---|---|---|
| src/pl/plpython/plpython.c | modified | +7 −1 |