Subject: [Boost-bugs] [Boost C++ Libraries] #3833: boost python calling conventions support patch submission (__stdcall, __cdecl, __fastcall)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-01-11 09:03:57
#3833: boost python calling conventions support patch submission (__stdcall,
__cdecl, __fastcall)
---------------------------------------------------+------------------------
Reporter: nico_ml@⦠| Owner: dave
Type: Patches | Status: new
Milestone: Boost 1.42.0 | Component: Python
Version: Boost Development Trunk | Severity: Problem
Keywords: boost python patch calling convention |
---------------------------------------------------+------------------------
I once more got my hands into my patch for adding support of various
calling conventions to boost.python.
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.
I added entries to documentation, and simple unit tests inspired by
boost.bind once again.
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.
The patch attached is made against the current trunk (rev.58712), on my
MSCV8 SP1 every boost.python test passes.
What more work should be done to get it accepted into trunk / 1.42 release
?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3833> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC