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"