Fixed converter for win32's WId type.
This commit is contained in:
parent
1af53541bf
commit
6575ac8d39
1 changed files with 4 additions and 1 deletions
|
|
@ -30,7 +30,10 @@
|
||||||
#endif
|
#endif
|
||||||
</native-to-target>
|
</native-to-target>
|
||||||
<target-to-native>
|
<target-to-native>
|
||||||
<add-conversion type="checkPyCapsuleOrPyCObject">
|
<add-conversion type="PyNone">
|
||||||
|
%out = 0;
|
||||||
|
</add-conversion>
|
||||||
|
<add-conversion check="checkPyCapsuleOrPyCObject(%in)" type="PyObject">
|
||||||
#ifdef IS_PY3K
|
#ifdef IS_PY3K
|
||||||
%out = (%OUTTYPE)PyCapsule_GetPointer(%in, 0);
|
%out = (%OUTTYPE)PyCapsule_GetPointer(%in, 0);
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue