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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user