Boost C++ Libraries: Ticket #903: [fix in git] inconsistent usage of function pointer typedefs https://svn.boost.org/trac10/ticket/903 <p> The us of the function pointer typedef 'convertible_function' is inconsistent in boost/python/converter/registry.hpp and libs/python/converter/registry.cpp. </p> <p> In registry.hpp 'insert' is defined as 'void insert(void* (*convert)(<a class="missing wiki">PyObject</a>*), type_info)' whereas it's 'void insert(convertible_function, type_info)' in registry.cpp. The same applies to 'void insert(convertible_function, constructor_function, type_info)' and 'void push_back(convertible_function, constructor_function, type_info)'. </p> <p> The attached patch replaces the function pointers with the appropriate typedefs. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/903 Trac 1.4.3 Dave Abrahams Tue, 03 Jul 2007 14:31:52 GMT owner, status, description changed; severity set https://svn.boost.org/trac10/ticket/903#comment:1 https://svn.boost.org/trac10/ticket/903#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">david_abrahams</span> to <span class="trac-author">Dave Abrahams</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/903?action=diff&amp;version=1">diff</a>) </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> Ticket Dave Abrahams Tue, 03 Jul 2007 14:58:41 GMT status, severity, reporter, version, description changed; milestone set https://svn.boost.org/trac10/ticket/903#comment:2 https://svn.boost.org/trac10/ticket/903#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>severity</strong> <span class="trac-field-old">Showstopper</span> → <span class="trac-field-new">Cosmetic</span> </li> <li><strong>reporter</strong> changed from <span class="trac-author">sebastinas</span> to <span class="trac-author">sebastinas@…</span> </li> <li><strong>version</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">release 1.34.0</span> </li> <li><strong>milestone</strong> → <span class="trac-field-new">Boost 1.35.0</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/903?action=diff&amp;version=2">diff</a>) </li> </ul> Ticket troy d. straszheim Thu, 24 Sep 2009 15:50:57 GMT status, resolution, summary changed https://svn.boost.org/trac10/ticket/903#comment:3 https://svn.boost.org/trac10/ticket/903#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> <li><strong>summary</strong> <span class="trac-field-old">inconsistent usage of function pointer typedefs</span> → <span class="trac-field-new">[fix in git] inconsistent usage of function pointer typedefs</span> </li> </ul> <p> Fixed in git: </p> <p> <a class="ext-link" href="http://gitorious.org/~straszheim/boost/straszheim/commit/7f951f166286140cefbb4f538ef1a0090a5d0e6a"><span class="icon">​</span>http://gitorious.org/~straszheim/boost/straszheim/commit/7f951f166286140cefbb4f538ef1a0090a5d0e6a</a> </p> <p> will get merged to trunk at some point. </p> Ticket troy d. straszheim Thu, 24 Sep 2009 15:52:08 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/903#comment:4 https://svn.boost.org/trac10/ticket/903#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> oops don't want to close these until the merge is done. </p> Ticket Steven Watanabe Fri, 11 Jun 2010 18:06:28 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/903#comment:5 https://svn.boost.org/trac10/ticket/903#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62808" title="Use the convertible_function typedef instead of the raw function ...">[62808]</a>) Use the convertible_function typedef instead of the raw function pointer type. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/903" title="#903: Patches: [fix in git] inconsistent usage of function pointer typedefs (closed: fixed)">#903</a> </p> Ticket