summaryrefslogtreecommitdiff
path: root/Examples/test-suite/grouping.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/grouping.i')
-rw-r--r--Examples/test-suite/grouping.i5
1 files changed, 5 insertions, 0 deletions
diff --git a/Examples/test-suite/grouping.i b/Examples/test-suite/grouping.i
index 5632231d0..d9103381d 100644
--- a/Examples/test-suite/grouping.i
+++ b/Examples/test-suite/grouping.i
@@ -28,4 +28,9 @@ int negate(int x) {
%}
+/* MATLAB/Octave not (always) case sensitive */
+#ifdef SWIGMATLAB
+%rename(NEGATEC) NEGATE;
+#endif
+
%constant UnaryOp *NEGATE = negate;