nelements is not passed anymore, its simply a return value
This commit is contained in:
parent
2f95a7e0ac
commit
590e5e2392
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,10 @@
|
||||||
$result = s;
|
$result = s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%typemap(python,in,numinputs=0) unsigned long *nelements (unsigned long temp) {
|
||||||
|
$1 = &temp;
|
||||||
|
}
|
||||||
|
|
||||||
%typemap(python,in) unsigned long *nelements (unsigned long temp) {
|
%typemap(python,in) unsigned long *nelements (unsigned long temp) {
|
||||||
temp = (unsigned)PyLong_AsLong($input);
|
temp = (unsigned)PyLong_AsLong($input);
|
||||||
$1 = &temp;
|
$1 = &temp;
|
||||||
|
|
Loading…
Reference in a new issue