I have a C function that takes as paramenter an 8 bit integer
int8_t foo( int8_t x );
I would like to call this function from my python code us
In your SWIG interface file use:
%include "stdint.i"
before you first use uint8_t. SWIG will then apply an appropriate typemap for you.
uint8_t