projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57dc5de
)
ruby fix from steven jenkins
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 12 Jan 2004 01:38:06 +0000
(
01:38
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 12 Jan 2004 01:38:06 +0000
(
01:38
+0000)
swig/comedi.i
patch
|
blob
|
history
diff --git
a/swig/comedi.i
b/swig/comedi.i
index 4fa78e90384446c974357a98983d324b4e588168..b67c06df27891c0f86c6536530e33cd16584bef5 100644
(file)
--- 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 */