2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 18:52:26 +00:00

use BOOST_PYTHON_MODULE_INIT

[SVN r9473]
This commit is contained in:
Dave Abrahams
2001-03-07 03:53:56 +00:00
parent 98b31ed073
commit 041409d715

View File

@@ -1131,11 +1131,7 @@ void init_module()
boost_python_test.add(new boost::python::meta_class<boost::python::instance>);
}
extern "C"
#ifdef _WIN32
__declspec(dllexport)
#endif
void initboost_python_test()
BOOST_PYTHON_MODULE_INIT(boost_python_test)
{
try {
bpl_test::init_module();