diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-17 21:44:10 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-17 21:44:10 +0000 |
| commit | 590e5e2392e0610e8eb2d21e59d2d4a265caf172 (patch) | |
| tree | 50055db9a6164e7fd7f67cc968f86d7ca123bd5a | |
| parent | 2f95a7e0acca73c5039276c1596337c75276e17a (diff) | |
nelements is not passed anymore, its simply a return value
| -rw-r--r-- | wrap/otk_property.i | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wrap/otk_property.i b/wrap/otk_property.i index 8a8fdd37..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; |
