Tag comedi_sv_measure's data as a swig output in comedilib.h.
authorIan Abbott <abbotti@mev.co.uk>
Thu, 16 Dec 2010 11:29:10 +0000 (11:29 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Thu, 16 Dec 2010 11:29:10 +0000 (11:29 +0000)
Patch from W. Trevor King.

include/comedilib.h

index e21c0b700453c406f4434c71bcbe664cca3ab8bc..afbf9c806b2d8d30959cac16d6e9f88eb900cd87 100644 (file)
@@ -168,7 +168,7 @@ int comedi_dio_bitfield(comedi_t *it,unsigned int subd,
 /* slowly varying stuff */
 int comedi_sv_init(comedi_sv_t *it,comedi_t *dev,unsigned int subd,unsigned int chan);
 int comedi_sv_update(comedi_sv_t *it);
-int comedi_sv_measure(comedi_sv_t *it,double *data);
+int comedi_sv_measure(comedi_sv_t *it,double *SWIG_OUTPUT(data));
 
 /* streaming I/O (commands) */