From dc831fb3f62897eb052d6e37fc8e64daa061a364 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 29 Dec 2001 00:00:19 +0000 Subject: [PATCH] Stuck the extension_class code in the DLL whenever possible [SVN r12168] --- src/extension_class.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/extension_class.cpp b/src/extension_class.cpp index f8bcf9ad..cc784ca6 100644 --- a/src/extension_class.cpp +++ b/src/extension_class.cpp @@ -11,6 +11,7 @@ #define BOOST_PYTHON_SOURCE +#include #include #include #include @@ -681,4 +682,9 @@ PyNumberMethods operator_dispatcher::number_methods = } // namespace detail +# ifndef BOOST_PYTHON_NO_TEMPLATE_EXPORT +template class BOOST_PYTHON_DECL meta_class; +template class BOOST_PYTHON_DECL class_t; +# endif + }} // namespace boost::python