mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
SWIGPYTHON: Apply unsigned int to uints for python
To handle uint data types in python bindings, apply unsigned int globally. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
parent
83f541a5db
commit
2d0ffaf88c
@ -46,6 +46,11 @@ void cleanUp();
|
|||||||
// Disable nested struct warnings
|
// Disable nested struct warnings
|
||||||
#pragma SWIG nowarn=312,325
|
#pragma SWIG nowarn=312,325
|
||||||
|
|
||||||
|
#if SWIGPYTHON
|
||||||
|
/* Apply all uints as 'unsigned int' for python */
|
||||||
|
%apply unsigned int {uint};
|
||||||
|
#endif
|
||||||
|
|
||||||
/* The pyupm_doxy2swig.i file is created via doxy2swig.py from doxygen xml
|
/* The pyupm_doxy2swig.i file is created via doxy2swig.py from doxygen xml
|
||||||
* output during doc build. This file is used by swig to provide native
|
* output during doc build. This file is used by swig to provide native
|
||||||
* python module documentation.
|
* python module documentation.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user