summaryrefslogtreecommitdiff
path: root/Lib/ruby
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2022-08-20 22:14:58 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2022-08-31 19:40:13 +0100
commitc10a84c77597695e3bdba37f35d251cb826d1d72 (patch)
tree269c5358ed15d7322d1185220036089a6cf0909d /Lib/ruby
parentec965840ce3fa59a9f09e9d09fefacaa617b54d5 (diff)
downloadswig-c10a84c77597695e3bdba37f35d251cb826d1d72.tar.gz
Cosmetic stray semi-colon removal after %typemap using quotes
Diffstat (limited to 'Lib/ruby')
-rw-r--r--Lib/ruby/typemaps.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/ruby/typemaps.i b/Lib/ruby/typemaps.i
index 1d28b1318..683436469 100644
--- a/Lib/ruby/typemaps.i
+++ b/Lib/ruby/typemaps.i
@@ -139,7 +139,7 @@ output values.
*/
%define OUTPUT_TYPEMAP(type, converter, convtype)
-%typemap(in,numinputs=0) type *OUTPUT($*1_ltype temp), type &OUTPUT($*1_ltype temp) "$1 = &temp;";
+%typemap(in,numinputs=0) type *OUTPUT($*1_ltype temp), type &OUTPUT($*1_ltype temp) "$1 = &temp;"
%typemap(argout, fragment="output_helper") type *OUTPUT, type &OUTPUT {
VALUE o = converter(convtype (*$1));
$result = output_helper($result, o);
@@ -161,7 +161,7 @@ OUTPUT_TYPEMAP(double, rb_float_new, (double));
#undef OUTPUT_TYPEMAP
-%typemap(in,numinputs=0) bool *OUTPUT(bool temp), bool &OUTPUT(bool temp) "$1 = &temp;";
+%typemap(in,numinputs=0) bool *OUTPUT(bool temp), bool &OUTPUT(bool temp) "$1 = &temp;"
%typemap(argout, fragment="output_helper") bool *OUTPUT, bool &OUTPUT {
VALUE o = (*$1) ? Qtrue : Qfalse;
$result = output_helper($result, o);