ruby fix from steven jenkins
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 12 Jan 2004 01:38:06 +0000 (01:38 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 12 Jan 2004 01:38:06 +0000 (01:38 +0000)
swig/comedi.i

index 4fa78e90384446c974357a98983d324b4e588168..b67c06df27891c0f86c6536530e33cd16584bef5 100644 (file)
@@ -55,6 +55,10 @@ static unsigned int cr_aref(unsigned int a){
 
 %array_class(unsigned int, chanlist);
 
+%typemap(ruby, argout) comedi_cmd *INOUT(VALUE info) {
+    $result = output_helper($result, $arg);
+};
+
 /* below are (modified) copies of comedi.h and comedilib.h */
 
 /* comedi.h */