From 4ec0b61de5ec0f677bb4ad7d6d6948bf8cbd00c4 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Wed, 21 Mar 2001 01:09:17 +0000 Subject: [PATCH] Now using BOOST_PYTHON_MODULE_INIT. [SVN r9617] --- example/abstract.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/example/abstract.cpp b/example/abstract.cpp index 41d34def..97e38c2e 100644 --- a/example/abstract.cpp +++ b/example/abstract.cpp @@ -21,9 +21,7 @@ struct Abstract_callback: Abstract PyObject * m_self; }; -extern "C" -DL_EXPORT(void) -initabstract() +BOOST_PYTHON_MODULE_INIT(abstract) { boost::python::module_builder a("abstract");