Ticket #583: module_init.hpp.patch
File module_init.hpp.patch, 1.3 KB (added by , 15 years ago) |
---|
-
boost/python/module_init.hpp
old new 26 26 } \ 27 27 void init_module_##name() 28 28 29 # elif defined(_AIX) && !defined(BOOST_PYTHON_STATIC_MODULE)30 31 # include <boost/python/detail/aix_init_module.hpp>32 # define BOOST_PYTHON_MODULE_INIT(name) \33 void init_module_##name(); \34 extern "C" \35 { \36 extern PyObject* _PyImport_LoadDynamicModule(char*, char*, FILE *); \37 void init##name() \38 { \39 boost::python::detail::aix_init_module( \40 _PyImport_LoadDynamicModule, #name, &init_module_##name); \41 } \42 } \43 void init_module_##name()44 45 29 # elif BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY 46 30 47 31 # define BOOST_PYTHON_MODULE_INIT(name) \