mirror of
https://github.com/eclipse/upm.git
synced 2025-03-14 20:47: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
757683b2ca
commit
fc56e56048
@ -46,6 +46,11 @@ void cleanUp();
|
||||
// Disable nested struct warnings
|
||||
#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
|
||||
* output during doc build. This file is used by swig to provide native
|
||||
* python module documentation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user