Thanks Andreas,
I've found out my solution in pyrap source code (pyrap.googlecode.com). I post
it here as it can be usefull for others:
#include
int type = PyArray_TYPE(anArray.ptr());
for (unsigned i = 0; i < 3; ++ i)
{
void * buffer = PyArray_GETPTR1(anArray.ptr(), i);
doubl
Mr Kun Hong wrote:
The lines in the documentation is:
'''
It might be appropriate to use the static Boost.Python library in any of the
following cases:
* You are extending python and the types exposed in your dynamically-loaded
extension module
don't need to be used by any other Boost.