Roman Yakovenko wrote:
> On Wed, Sep 30, 2009 at 6:18 PM, Christopher Bruns
> wrote:
> > I suspect I can manually adjust the implicitly_convertible tag
> > generation using the "allow_implicit_conversion" flag in pyplusplus.
> > Is there a way to tell pyplusplus to avoid generating an
> > implici
On 09/30/2009 11:48 PM, Ralf W. Grosse-Kunstleve wrote:
lvalue_from_pytype only works for passing by value or const
references/pointers, but that seems to match your case,
since you MPI_Comm is passed by value to your sayhello().
However, wrapping extern "C" isn't portable, AFAIK. You'll need a
On 10/01/2009 01:22 AM, Austin Bingham wrote:
If it's any help, I wrote a small bit on the details of writing
converters. It might help clarify some of the mechanics which, I
agree, are a bit mysterious:
http://misspent.wordpress.com/2009/09/27/how-to-write-boost-python-converters/
Wond
On Thu, Oct 1, 2009 at 5:46 PM, Christopher Bruns wrote:
> I disagree. Py++ does have a way to find out. The only time
> "explicit" matters is when a constructor takes exactly one argument.
> gccxml sets "explicit=1" in all cases when the number of arguments is
> other than 1. That is why you s