Re: [C++-sig] Passing memory allocated in C++ to Python

2016-01-11 Thread Stefan Seefeld
Hi Tony, On 11.01.2016 17:56, Tony Cappellini wrote: > > > I've already got a project built for Linux, using Boost-python. My > Python code can import the C++ extension and access the members that > are exposed. > > My C++ code needs to call fill in C++ structures in order to call > ioctl() functi

[C++-sig] Passing memory allocated in C++ to Python

2016-01-11 Thread Tony Cappellini
I've already got a project built for Linux, using Boost-python. My Python code can import the C++ extension and access the members that are exposed. My C++ code needs to call fill in C++ structures in order to call ioctl() functions, while passing the addresses of the structures to the ioctl funct