|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70493 - trunk/libs/python/src
From: rwgk_at_[hidden]
Date: 2011-03-24 00:11:01
Author: rwgk
Date: 2011-03-24 00:10:59 EDT (Thu, 24 Mar 2011)
New Revision: 70493
URL: http://svn.boost.org/trac/boost/changeset/70493
Log:
libs/python/src/module.cpp: bug fix: adding missing BOOST_PYTHON_DECL that should have been in rev. 67462, fixes trac issue #5283
Text files modified:
trunk/libs/python/src/module.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/python/src/module.cpp
==============================================================================
--- trunk/libs/python/src/module.cpp (original)
+++ trunk/libs/python/src/module.cpp 2011-03-24 00:10:59 EDT (Thu, 24 Mar 2011)
@@ -38,7 +38,7 @@
#if PY_VERSION_HEX >= 0x03000000
-PyObject* init_module(PyModuleDef& moduledef, void(*init_function)())
+BOOST_PYTHON_DECL PyObject* init_module(PyModuleDef& moduledef, void(*init_function)())
{
return init_module_in_scope(
PyModule_Create(&moduledef),
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk