[C++-sig] passing wrapped c++ objects to boost wrapped function

Greg Landrum greg.landrum at gmail.com
Mon Jan 8 19:29:19 CET 2007


On 1/4/07, Kim Branson <kim.branson at gmail.com> wrote:
>
> i have python bindings for a library, and i can create python wrapped
> instances of this object in python
>
> mol = OEMol()
> in python this is a proxy of the C++ instance.
>  <openeye.oechem.OEMol; proxy of C++ OEMolWrapper instance at
> _0030dfd0_p_OEMolWrapper>
>
> I have other c++ code  that uses an OEMol interface like so.
>

Since OpenEye has provided you with a SWIG wrapper for OEChem,
wouldn't it be easier to just use SWIG to wrap your functionality as
well?

It seems like that would be the straightforward way to avoid a massive
pain in the neck.

-greg



More information about the Cplusplus-sig mailing list