projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c6a5d5
)
Use #ifdef SWIGRUBY around typemap(ruby,...) and remove the ruby argument.
author
Ian Abbott
<abbotti@mev.co.uk>
Thu, 16 Dec 2010 11:41:41 +0000
(11:41 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Thu, 16 Dec 2010 11:41:41 +0000
(11:41 +0000)
swig/comedi.i
patch
|
blob
|
history
diff --git
a/swig/comedi.i
b/swig/comedi.i
index b25441b109fc2ae99cae23c73fc2dabf9b19bd22..581997542927fd31cd2e0d03c220377774cfa600 100644
(file)
--- a/
swig/comedi.i
+++ b/
swig/comedi.i
@@
-57,9
+57,11
@@
static unsigned int cr_aref(unsigned int a){
%array_class(unsigned int, chanlist);
-%typemap(ruby, argout) comedi_cmd *INOUT(VALUE info) {
+#ifdef SWIGRUBY
+%typemap(argout) comedi_cmd *INOUT(VALUE info) {
$result = output_helper($result, $arg);
};
+#endif
%include "comedi.h"
%include "comedilib.h"