Boost C++ Libraries: Ticket #3833: boost python calling conventions support patch submission (__stdcall, __cdecl, __fastcall) https://svn.boost.org/trac10/ticket/3833 <p> I once more got my hands into my patch for adding support of various calling conventions to boost.python. </p> <p> I tried to include the comments that were made a long time ago, and took an approach close to the one used in boost.bind : the defaut is to not support any additional calling conventions. Preprocessor defines allow to enable them : BOOST_PYTHON_ENABLE_CDECL, BOOST_PYTHON_ENABLE_STDCALL, BOOST_PYTHON_ENABLE_FASTCALL. </p> <p> I added entries to documentation, and simple unit tests inspired by boost.bind once again. </p> <p> The new tests should probably not be run on compilers where the calling conventions are irrelevant, but this exceeds both my bjam and compiler specifics knowledge. </p> <p> The patch attached is made against the current trunk (rev.58712), on my MSCV8 SP1 every boost.python test passes. </p> <p> What more work should be done to get it accepted into trunk / 1.42 release ? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3833 Trac 1.4.3 nico_ml@… Mon, 11 Jan 2010 09:04:25 GMT attachment set https://svn.boost.org/trac10/ticket/3833 https://svn.boost.org/trac10/ticket/3833 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_python_calling_conventions.patch</span> </li> </ul> <p> patch file (svn diff) </p> Ticket Dave Abrahams Mon, 11 Jan 2010 16:58:09 GMT status changed https://svn.boost.org/trac10/ticket/3833#comment:1 https://svn.boost.org/trac10/ticket/3833#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> This looks terrific! I'll try to get it applied ASAP. Please poke me if you don't see it in trunk by the end of the week. </p> Ticket nico_ml@… Fri, 22 Jan 2010 16:56:09 GMT <link>https://svn.boost.org/trac10/ticket/3833#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3833#comment:2</guid> <description> <p> Hi Dave, I didn't see any change in boost.python trunk - so I poke you :) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Dave Abrahams</dc:creator> <pubDate>Sun, 24 Jan 2010 02:08:48 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3833#comment:3 https://svn.boost.org/trac10/ticket/3833#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-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/59247" title="Support different MS calling conventions, thanks to Nicolas Lelong. ...">[59247]</a>) Support different MS calling conventions, thanks to Nicolas Lelong. Closes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3833" title="#3833: Patches: boost python calling conventions support patch submission (__stdcall, ... (closed: fixed)">#3833</a>. </p> Ticket Dave Abrahams Mon, 25 Jan 2010 14:48:54 GMT <link>https://svn.boost.org/trac10/ticket/3833#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3833#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/59265" title="Support different MS calling conventions, thanks to Nicolas Lelong. ...">[59265]</a>) Support different MS calling conventions, thanks to Nicolas Lelong. Closes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3833" title="#3833: Patches: boost python calling conventions support patch submission (__stdcall, ... (closed: fixed)">#3833</a>. </p> </description> <category>Ticket</category> </item> </channel> </rss>