[C++-sig] wrapper & HeldType
Roman Yakovenko
roman.yakovenko at gmail.com
Sun Oct 16 07:03:35 CEST 2005
On 10/12/05, David Abrahams <dave at boost-consulting.com> wrote:
> Could you please post a minimal, complete example that you think
> should work?
Yes of course. See attached files.
C++ code to be exported
smart_pointers_to_be_exported.hpp
smart_pointers_to_be_exported.cpp
boost.python wrappers:
smart_pointers.cpp
In order to show my point file smart_pointers.cpp could not be compiled.
If you want it to be compiled uncomment PyObject* argument in wrapper
constructors.
An other way you can see my point to update boost.python unittests to
use wrapper
class.
> Thanks,
> Dave
>
> --
> Dave Abrahams
> Boost Consulting
> www.boost-consulting.com
Thanks for help
Roman Yakovenko
More information about the Cplusplus-sig
mailing list