all repos — openbox @ 590e5e2392e0610e8eb2d21e59d2d4a265caf172

openbox fork - make it a bit more like ryudo

nelements is not passed anymore, its simply a return value
Dana Jansens danakj@orodu.net
commit

590e5e2392e0610e8eb2d21e59d2d4a265caf172

parent

2f95a7e0acca73c5039276c1596337c75276e17a

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M wrap/otk_property.iwrap/otk_property.i

@@ -82,6 +82,10 @@ PyObject *s = PyLong_FromLong(*$1);

$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;