>I'm sorry to say that I don't really understand the concept of making the
>Python portion only an interface to the >underlying C++ code. Please could you
>explain what that means?
David,
Sorry, I must not have communicated this well. I'll try again. It depends on
how your code works, but th
David,
I'm still a newbie on this list myself, but I will tell you that for the larger
project which we were attempting to wrap, we had excellent luck with Gustavo
Carniero's Pybindgen project. We found it to be much simpler to work with than
boost.python and py++, and also it compiled much fas
PM
To: Development of Python/C++ integration
Subject: Re: [C++-sig] Boost-python/pybindgen and wrapping member variables
On Wed, Jan 20, 2010 at 7:26 PM, Ben Fitzpatrick
mailto:bfitzpatr...@vtiinstruments.com>> wrote:
Gustavo,
I think you win some sort of prize for not only fastest mailin
-bounces+bfitzpatrick=vtiinstruments@python.org] On
Behalf Of Gustavo Carneiro
Sent: Wednesday, January 20, 2010 1:18 PM
To: Development of Python/C++ integration
Subject: Re: [C++-sig] Boost-python/pybindgen and wrapping member variables
On Wed, Jan 20, 2010 at 5:43 PM, Ben Fitzpatrick
leads me to believe there's
something I'm missing. I went and looked up the documentation for
reference_existing_object, but of course none of their examples show how you
could use it on a member variable. What am I missing?
Thanks,
Ben Fitzpatrick
___
Hi everyone,
I am trying to wrap a section of C++ code with many enum types in it, of the
form:
enum Blah
{
BlahSomething1 = 1000;
BlahSomething2 = 1001;
}
Thanks to this definition - pulled into pybindgen via automagical pygccxml
parsing of some header files - code of the form
Blah here_i
, and the Create function even works… but the get_value
function doesn’t appear when I dir the class. Set_value appears and seems to
work, so why not get? Any ideas?
I’m on a clean Debian Etch install (virtual machine), using GCC 4.3.2, Python
2.5.2, gccxml 0.9.
Thanks,
Ben Fitzpatrick
From
Gustavo Carneiro wrote:
2009/6/23 Ben Fitzpatrick <mailto:bfitzpatr...@vtiinstruments.com>>
Thanks for the suggestions!
I tried the first one, just as a test. I'd like to do the second
programatically if I can, but I just wanted to make sure
annotations wer
be similar to the declaration you pointed me to in foo.h:
// -#- @zbr(transfer_ownership=true) -#-
void store_zbr (Zbr *zbr);
Also tried renaming it to 'foobaz' in case 'value' was a keyword. Is
there something I'm missing?
Thanks,
Ben Fitzpatrick
Gustavo C
7;t find anything referencing
this, and none of the examples use gccxml.
Any ideas?
Thanks,
Ben Fitzpatrick
___
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig
10 matches
Mail list logo