<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> Of course : <a href="http://matt.eifelle.com/item/5">http://matt.eifelle.com/item/5
</a><br>> It's a basic version of the wrapper I use in my lab (pay attention to<br>> the constructor for instance), I hope you will be able to do something<br><br>Thanks !<br>But this assumes that the data in my C++ library is stored in a
<br>PyArrayObject ?</blockquote><div><br><br>Yes, but if your data storage is decoupled from the data use, you can replace the data storage by a Python one<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is of course not possible in my case - I need this library also in<br>other situations, where I don't want to depend on python/numpy ...</blockquote></div><br>In this case, you use the default storage policy.<br clear="all">
If you only call functions and do not use classes (construct a class in Python and then call a method), this is an overkill.<br><br>Matthieu<br>-- <br>French PhD student<br>Website : <a href="http://miles.developpez.com/">
http://miles.developpez.com/</a><br>Blogs : <a href="http://matt.eifelle.com">http://matt.eifelle.com</a> and <a href="http://blog.developpez.com/?blog=92">http://blog.developpez.com/?blog=92</a><br>LinkedIn : <a href="http://www.linkedin.com/in/matthieubrucher">
http://www.linkedin.com/in/matthieubrucher</a>