aboutsummaryrefslogtreecommitdiff
path: root/Lib/allegrocl/allegrocl.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/allegrocl/allegrocl.swg')
-rw-r--r--Lib/allegrocl/allegrocl.swg2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/allegrocl/allegrocl.swg b/Lib/allegrocl/allegrocl.swg
index 152e5e6f0..524aa7c11 100644
--- a/Lib/allegrocl/allegrocl.swg
+++ b/Lib/allegrocl/allegrocl.swg
@@ -232,6 +232,8 @@ $body)"
/* const pointers */
%apply SWIGTYPE * { SWIGTYPE *const }
+%apply SWIGTYPE (CLASS::*) { SWIGTYPE (CLASS::*const) }
+%apply SWIGTYPE & { SWIGTYPE (CLASS::*const&) }
/* name conversion for overloaded operators. */
#ifdef __cplusplus