summaryrefslogtreecommitdiff
path: root/wrap
diff options
context:
space:
mode:
Diffstat (limited to 'wrap')
-rw-r--r--wrap/otk_property.i4
1 files changed, 4 insertions, 0 deletions
diff --git a/wrap/otk_property.i b/wrap/otk_property.i
index 8a8fdd37..23c030a0 100644
--- a/wrap/otk_property.i
+++ b/wrap/otk_property.i
@@ -82,6 +82,10 @@
$result = s;
}
+%typemap(python,in,numinputs=0) unsigned long *nelements (unsigned long temp) {
+ $1 = &temp;
+}
+
%typemap(python,in) unsigned long *nelements (unsigned long temp) {
temp = (unsigned)PyLong_AsLong($input);
$1 = &temp;