Re: [Rdkit-devel] [Rdkit-discuss] python/c++ interface again...

2012-06-04 Thread Paul Emsley
On 03/06/12 18:33, Paul Emsley wrote: > On 02/06/12 04:44, Greg Landrum wrote: >> Hi Paul, >> >> On Fri, Jun 1, 2012 at 1:41 PM, Paul Emsley >> wrote: >>> I've been trying to read boost python docs and I am lost... >>> >>> I'd like to return a PyObject *. I have a RDKit::RWMol, say - or a >>> p

Re: [Rdkit-devel] [Rdkit-discuss] python/c++ interface again...

2012-06-03 Thread Greg Landrum
On Sun, Jun 3, 2012 at 6:33 PM, Paul Emsley wrote: > > OK, thanks again. > > I have done some reading about boost.python.  I understand now (as you > imply) that the idea is not to (have to) use PyObject *s.  OK, let's try > with that for the moment. Yeah, the real problem is that I'm really not

Re: [Rdkit-devel] [Rdkit-discuss] python/c++ interface again...

2012-06-03 Thread Paul Emsley
On 02/06/12 04:44, Greg Landrum wrote: > Hi Paul, > > On Fri, Jun 1, 2012 at 1:41 PM, Paul Emsley > wrote: >> I've been trying to read boost python docs and I am lost... >> >> I'd like to return a PyObject *. I have a RDKit::RWMol, say - or a >> pointer to a new one if need be... > If you are us