diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2020-06-02 10:19:54 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2020-06-02 18:11:12 +0100 |
commit | 85f2378b8406fa8ce432f342a55fc585d70f2a97 (patch) | |
tree | 655d8eada6028b42c3529715b04c33a275e293da /Examples | |
parent | ac3f668c8322a89720ae277ce03ba2fb9e9a5f65 (diff) | |
parent | 6542d848dce1911d33a8640c267554d17645e59f (diff) | |
download | swig-85f2378b8406fa8ce432f342a55fc585d70f2a97.tar.gz |
Merge branch 'r-script-fixes'
* r-script-fixes:
Fix further missing semicolons in R code.
fixed some missing semicolons. Each one caused a compile error in generated code
Diffstat (limited to 'Examples')
-rw-r--r-- | Examples/test-suite/r_memory_leak.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/r_memory_leak.i b/Examples/test-suite/r_memory_leak.i index d490de535..a240097e3 100644 --- a/Examples/test-suite/r_memory_leak.i +++ b/Examples/test-suite/r_memory_leak.i @@ -17,7 +17,7 @@ SWIG_exception_fail(SWIG_RuntimeError, "Let's see how the bindings manage this exception!"); } %typemap(scoerceout) Foo* - %{ if (!is.null($result) && !is.logical($result)) {$result <- new("$R_class", ref=$result) ;} %} + %{ if (!is.null($result) && !is.logical($result)) {$result <- new("$R_class", ref=$result) ;}; %} %inline %{ #include <string> |