Add an `insn_array` array_class to `comedi.i`.
authorW. Trevor King <wking@drexel.edu>
Tue, 13 Mar 2012 12:31:36 +0000 (08:31 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 13 Mar 2012 12:31:36 +0000 (08:31 -0400)
commit1fe137aa2444e65ce1a6c848dc6cddaebc08d349
tree4feb1fd13a4503d1b5a2927af04e0cd76589ce15
parentb09e05a776f0f8ea9a71d19c021a7a8516935b90
Add an `insn_array` array_class to `comedi.i`.

This makes it possible to populate `comedi_insnslist_struct` for use
with `comedi_do_insnlist`.

I also removed my earlier re-typedefs of `sampl_array` and
`lsampl_array`.  I didn't understand the reason for the underlying
`TypeError` when I added them.  The proper way to avoid that error is
to use the `.cast()` and `.frompointer()` methods.  See
`demo/python/insn.py` (coming soon) for details.
swig/comedi.i