1 // Copyright David Abrahams 2002.
2 // Distributed under the Boost Software License, Version 1.0. (See
3 // accompanying file LICENSE_1_0.txt or copy at
4 // http://www.boost.org/LICENSE_1_0.txt)
5 #ifndef AIX_INIT_MODULE_DWA2002529_HPP
6 # define AIX_INIT_MODULE_DWA2002529_HPP
7 # ifdef _AIX
8 # include <boost/python/detail/prefix.hpp>
9 # include <cstdio>
10 # ifdef __KCC
11 #  include <iostream> // this works around a problem in KCC 4.0f
12 # endif
13 
14 namespace boost { namespace python { namespace detail {
15 
16 extern "C"
17 {
18     typedef PyObject* (*so_load_function)(char*,char*,FILE*);
19 }
20 
21 void aix_init_module(so_load_function, char const* name, void (*init_module)());
22 
23 }}} // namespace boost::python::detail
24 # endif
25 
26 #endif // AIX_INIT_MODULE_DWA2002529_HPP
27