nelements is not passed anymore, its simply a return value

This commit is contained in:
Dana Jansens 2003-02-17 21:44:10 +00:00
parent 2f95a7e0ac
commit 590e5e2392

View file

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