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
|
|
@ -4,6 +4,8 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
|
|
||||||
Version 2.0.7 (in progress)
|
Version 2.0.7 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
2012-05-22: szager
|
||||||
|
[python] Disambiguate SWIG_From_unsigned_SS_int and SWIG_From_unsigned_SS_long.
|
||||||
|
|
||||||
2012-05-18: olly
|
2012-05-18: olly
|
||||||
[PHP] Fix getters for template members. (SF#3428833, SF#3528035)
|
[PHP] Fix getters for template members. (SF#3428833, SF#3528035)
|
||||||
|
|
|
||||||
|
|
@ -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 */
|
/* long */
|
||||||
|
|
||||||
%fragment(SWIG_From_frag(long),"header") {
|
%fragment(SWIG_From_frag(long),"header") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue