Template Struct getitem

Struct Documentation

template<typename T>
struct getitem

Public Static Functions

static inline PyObject *run(void *data, void*)

Get a python object from an array It returns a standard Python object from a single element of the array object arr pointed to by data.

Parameters:
  • data[in] Pointer to the first element of the C++ data stream

  • arr[in] Pointer to the first element of the Python object data stream

Returns:

PyObject corresponding to the python datastream.