From 153547a0477a66434dd9b004ffacc3b0642ee02f Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 12 Jan 2004 01:38:06 +0000 Subject: [PATCH] ruby fix from steven jenkins --- swig/comedi.i | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/swig/comedi.i b/swig/comedi.i index 4fa78e9..b67c06d 100644 --- a/swig/comedi.i +++ b/swig/comedi.i @@ -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 */ -- 2.26.2