projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f95a7e
)
nelements is not passed anymore, its simply a return value
author
Dana Jansens
<danakj@orodu.net>
Mon, 17 Feb 2003 21:44:10 +0000
(21:44 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 17 Feb 2003 21:44:10 +0000
(21:44 +0000)
wrap/otk_property.i
patch
|
blob
|
history
diff --git
a/wrap/otk_property.i
b/wrap/otk_property.i
index
8a8fdd3
..
23c030a
100644
(file)
--- 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;