]> granicus.if.org Git - postgresql/commit
Change PyInit_plpy to external linkage
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 18 Aug 2011 09:53:32 +0000 (12:53 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 18 Aug 2011 10:47:35 +0000 (13:47 +0300)
commitd4c24254fab0b9908211f990c4239664f3ed5630
treee7ff4e681b0f0e3f295395d4e9f949f7123907f6
parent1853e120f7badea0cd9b62ff2ad2a0dc60a5f1fe
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.
src/pl/plpython/plpython.c