> Please file a trac ticket at svn.boost.org so that this does not get
lost.
OK Ravi, thanks for the pointer, I should have known
I submitted ticket #3833 (https://svn.boost.org/trac/boost/ticket/3833),
and will be happy to have feedback about it !
Cheers,
Nicolas.
_
Hi all,
I try to embed a Python interpreter into my project using
Py++/boost::python.
I have a problem wrapping different libraries for which i own the source and
which I compile to DLL/*.so files . The libraries have dependencies on each
other but do not necessarily have to be used together.
IMO, the easiest route would be to wrap the member functions :
namespace {
std::string video_getDeviceName_wrapped(int deviceID)
{
char* name = videoInput::getDeviceName(devideID);
std::string result(name);
// free 'name' memory if needed
return result;
}
}
and then ::
using namespace
On Mon, Jan 11, 2010 at 6:15 PM, mtn wrote:
>
> Hi all,
>
> I try to embed a Python interpreter into my project using
> Py++/boost::python.
>
> I have a problem wrapping different libraries for which i own the source and
> which I compile to DLL/*.so files . The libraries have dependencies on each
Thanks a lot Roman, everything answered..
On Wed, Jan 20, 2010 at 9:22 AM, Roman Yakovenko
wrote:
> On Mon, Jan 11, 2010 at 6:15 PM, mtn wrote:
>>
>> Hi all,
>>
>> I try to embed a Python interpreter into my project using
>> Py++/boost::python.
>>
>> I have a problem wrapping different libraries
Hi everyone,
I think I'm finally getting the hang of this, I seem to have gotten almost
everything in my project working thanks to Gustavo's latest pybindgen patch.
One of the remaining things I am having difficulty with is putting annotations
on member variables of a class. I have something of
On Wed, Jan 20, 2010 at 5:43 PM, Ben Fitzpatrick <
bfitzpatr...@vtiinstruments.com> wrote:
> Hi everyone,
>
>
>
> I think I’m finally getting the hang of this, I seem to have gotten almost
> everything in my project working thanks to Gustavo’s latest pybindgen patch.
> One of the remaining things
Gustavo,
I think you win some sort of prize for not only fastest mailing list responses,
but also fastest implementation of features. I reviewed the diff, and changed
what I was adding to the global annotations table for these pointers to
“{‘return_internal_reference’:’true’}” – this seems to b
I have C code similar to the following:
float image_data[IMAGE_SIZE];
const float *get_data()
get_data returns a pointer to image_data. I'd like to expose get_data to
python and have it return a copy of the array in some Python type. (it is
actually a 2D array of image data)
In the wrapper
On Wed, Jan 20, 2010 at 7:26 PM, Ben Fitzpatrick <
bfitzpatr...@vtiinstruments.com> wrote:
> Gustavo,
>
>
>
> I think you win some sort of prize for not only fastest mailing list
> responses, but also fastest implementation of features. I reviewed the diff,
> and changed what I was adding to the
On Wed, 2010-01-20 at 17:51 -0500, Ng, Enrico wrote:
> I have C code similar to the following:
>
> float image_data[IMAGE_SIZE];
> const float *get_data()
>
> get_data returns a pointer to image_data. I'd like to expose get_data to
> python and have it return a copy of the array in some Python
11 matches
Mail list logo