From 17faf4504cfecd35aebad09da651921061b78272 Mon Sep 17 00:00:00 2001 From: Jonathan Brandmeyer Date: Fri, 18 Feb 2005 02:42:42 +0000 Subject: [PATCH] Export the client-provided docstrings for init > and _FUNCTION_OVERLOADS() for only the last overload. [SVN r27415] --- include/boost/python/detail/defaults_def.hpp | 2 +- include/boost/python/init.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/python/detail/defaults_def.hpp b/include/boost/python/detail/defaults_def.hpp index 68799f83..9ce98a62 100644 --- a/include/boost/python/detail/defaults_def.hpp +++ b/include/boost/python/detail/defaults_def.hpp @@ -168,7 +168,7 @@ namespace detail char const* doc) { // define the NTH stub function of stubs - define_stub_function::define(name, stubs, kw, policies, name_space, doc); + define_stub_function::define(name, stubs, kw, policies, name_space, 0); if (kw.second > kw.first) --kw.second; diff --git a/include/boost/python/init.hpp b/include/boost/python/init.hpp index ce52531c..a07359e6 100644 --- a/include/boost/python/init.hpp +++ b/include/boost/python/init.hpp @@ -363,7 +363,7 @@ namespace detail , char const* doc , detail::keyword_range keywords) { - detail::def_init_aux(cl, args, NArgs(), policies, doc, keywords); + detail::def_init_aux(cl, args, NArgs(), policies, 0, keywords); if (keywords.second > keywords.first) --keywords.second;