python: disambiguate SWIG_From_unsigned_SS_int and SWIG_From_unsigned_SS_long.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13106 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7196e556a5
commit
00328ccdb3
2 changed files with 12 additions and 0 deletions
|
|
@ -35,6 +35,16 @@ SWIGINTERNINLINE PyObject*
|
|||
}
|
||||
}
|
||||
|
||||
/* unsigned int */
|
||||
|
||||
%fragment(SWIG_From_frag(unsigned int),"header") {
|
||||
SWIGINTERNINLINE PyObject*
|
||||
SWIG_From_dec(unsigned int)(unsigned int value)
|
||||
{
|
||||
return PyInt_FromSize_t((size_t) value);
|
||||
}
|
||||
}
|
||||
|
||||
/* long */
|
||||
|
||||
%fragment(SWIG_From_frag(long),"header") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue