2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00

Export the client-provided docstrings for init<optional<> > and

_FUNCTION_OVERLOADS() for only the last overload.


[SVN r27415]
This commit is contained in:
Jonathan Brandmeyer
2005-02-18 02:42:42 +00:00
parent 53c335f106
commit 17faf4504c
2 changed files with 2 additions and 2 deletions

View File

@@ -168,7 +168,7 @@ namespace detail
char const* doc)
{
// define the NTH stub function of stubs
define_stub_function<N>::define(name, stubs, kw, policies, name_space, doc);
define_stub_function<N>::define(name, stubs, kw, policies, name_space, 0);
if (kw.second > kw.first)
--kw.second;

View File

@@ -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;