From 502e67c1140e3de7cce99226f7403e4a9ab47cd0 Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Mon, 12 Aug 2002 15:29:23 +0000 Subject: [PATCH] jamfile [SVN r14790] --- include/boost/python/module.hpp | 7 +++++++ test/Jamfile | 11 ++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/include/boost/python/module.hpp b/include/boost/python/module.hpp index 90bc6e5d..1277c576 100644 --- a/include/boost/python/module.hpp +++ b/include/boost/python/module.hpp @@ -18,6 +18,13 @@ namespace boost { namespace python { +namespace detail +{ + // Forward declaration (detail/defaults_def.hpp) + template + struct func_stubs_base; +} + class module : public detail::module_base { public: diff --git a/test/Jamfile b/test/Jamfile index 0752ddc2..84a9bf40 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -14,7 +14,7 @@ local PYTHON_PROPERTIES = $(BOOST_PYTHON_V2_PROPERTIES) ; rule bpl-test ( name ? : files * ) { files ?= $(name).py $(name).cpp ; - + local modules ; local py ; for local f in $(files) @@ -28,7 +28,7 @@ rule bpl-test ( name ? : files * ) py = $(f) ; } } - + name ?= $(py:S=) ; for local f in $(files) @@ -36,11 +36,11 @@ rule bpl-test ( name ? : files * ) if $(f:S) != .py { local m = $(f:S=) ; - + if $(m) = $(py:S=) { m = $(name) ; - + if $(m) = $(py:S=) { m = $(m)_ext ; @@ -50,7 +50,7 @@ rule bpl-test ( name ? : files * ) modules += $(m) ; } } - + boost-python-runtest $(name) : $(py) $(modules) ; } @@ -62,6 +62,7 @@ bpl-test builtin_converters : test_builtin_converters.py test_builtin_converters bpl-test test_pointer_adoption ; bpl-test operators ; bpl-test callbacks ; +bpl-test defaults_ext : defaults.py defaults.cpp ; bpl-test object ; bpl-test list ;