[C++-sig] exporting __stdcall methods
nico_ml at mgdesign.org
Thu Jun 2 18:24:09 CEST 2005
as I have some time ahead, I upgraded my codebase to latest boost snapshot.
I was quite surprised to see that, by default, BPL still can't export
__stdcall & __fastcall functions, or, at least, I could not find anything
that allows that !...
I thought that it may be useful to send my patch to deal with these calling
I improved somewhat the patch I used before to handle the situation a little
bit like type_traits lib does, by adding two defines that should sit in BPL
config.hpp : BOOST_PYTHON_ENABLE_STDCALL and BOOST_PYTHON_ENABLE_FASTCALL.
I did not go on tweaking or adding a specific test, as I first wanted to
have some feedback about the usefulness of such a patch and about the
quality of the one I'm proposing.
Any thoughts ?
----- Original Message -----
From: "David Abrahams" <dave at boost-consulting.com>
To: "John Maddock" <john at johnmaddock.co.uk>
Cc: "pysig" <c++-sig at python.org>
Sent: Thursday, March 17, 2005 4:48 PM
Subject: [C++-sig] Re: exporting __stdcall methods
> "John Maddock" <john at johnmaddock.co.uk> writes:
>>> Files like boost/type_traits/detail/is_mem_fun_pointer_tester.hpp
>>> which are outside the Boost.Python library would need to be enhanced
>>> to deal with __stdcall, etc.
>> Should now be fixed in cvs: provided the changes don't break anything
>> of course!
> Fantastic! Thanks, John!
> Dave Abrahams
> Boost Consulting
> C++-sig mailing list
> C++-sig at python.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Cplusplus-sig