[SciPy-User] Share memory between python an C++

Wolfgang Mader Wolfgang.Mader@fdm.uni-freiburg...
Sun Oct 28 09:01:24 CDT 2012

On Saturday 27 October 2012 02:54:06 FDM wrote:
> Hello list,
> I have a couple of functions in the form of shared C++ libraries, and want
> to use them from within python. Some of them involve big chunks of data
> which could be represented easily using numpy data types. Therefore, I am
> searching for a way to call the C++ function, pass a reference or pointer
> as argument, pointing to memory I have allocated in python, such that I can
> use the result of the function w/o copying. It should be possible to hide
> technicalities from a python user. I would apprechiate any hint.
> Best, Wolfgang
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user

Thank you for your hints!

More information about the SciPy-User mailing list