X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=wrap%2Fotk_property.i;h=23c030a0003bfcd880187d2f41e0ca595a1f358a;hb=590e5e2392e0610e8eb2d21e59d2d4a265caf172;hp=118f8c5ccb274007ea78b5062b44dba6ae98ef6e;hpb=4534151926c4f3887ba9e37ae67df16f1eb039ef;p=chaz%2Fopenbox diff --git a/wrap/otk_property.i b/wrap/otk_property.i index 118f8c5c..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; @@ -149,6 +153,8 @@ namespace otk { +%immutable otk::Property::atoms; + %ignore Property::NUM_STRING_TYPE; %ignore Property::initialize();