summaryrefslogtreecommitdiff
path: root/wrap
diff options
context:
space:
mode:
Diffstat (limited to 'wrap')
-rw-r--r--wrap/otk.i6
1 files changed, 5 insertions, 1 deletions
diff --git a/wrap/otk.i b/wrap/otk.i
index 2d87fb82..92c8edf3 100644
--- a/wrap/otk.i
+++ b/wrap/otk.i
@@ -7,6 +7,7 @@
%}
%include "stl.i"
+%include "typemaps.i"
//%include std_list.i
%include "ustring.i"
@@ -63,10 +64,13 @@ namespace otk {
%include "button.hh"
%include "display.hh"
%include "rendercontrol.hh"
-%include "property.hh"
%include "screeninfo.hh"
%include "strut.hh"
+%apply unsigned long *INOUT { unsigned long *nelements };
+%apply unsigned long *OUTPUT { unsigned long *value };
+%include "property.hh"
+
// for Window etc
%import "X11/X.h"