diff -ru boost_1_34_0/boost/python/module_init.hpp boost_1_34_0_ibm/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 | | # elif BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY |
| | 29 | # elif BOOST_PYTHON_USE_GCC_SYMBOL_VISIBILITY |
| 46 | 30 | |
| 47 | 31 | # define BOOST_PYTHON_MODULE_INIT(name) \ |
| 48 | 32 | void init_module_##name(); \ |
| … |
… |
|
| 52 | 36 | } \ |
| 53 | 37 | void init_module_##name() |
| 54 | 38 | |
| 55 | | # else |
| | 39 | # else |
| 56 | 40 | |
| 57 | 41 | # define BOOST_PYTHON_MODULE_INIT(name) \ |
| 58 | 42 | void init_module_##name(); \ |