title: Passing python array to a c function using c_types
body: <p>I have a wrapper function in C library that interacts with the some python scripts.</p>
  
  <pre><code>int func(uint8_t *_data, int _len);
  </code></pre>
  
  <p>I want to pass a array or list in python to this function.
  How to do it ?</p>