swig data types

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

swig data types

Thomas Jarosch

does anyone have a little knowledge of swig?
Let's take this bit from bindings/ftdi.i:

%apply char *OUTPUT { unsigned short *status };
    int ftdi_poll_modem_status(struct ftdi_context *ftdi, unsigned short *status);
%clear unsigned short *status;

Shouldn't this be "%apply unsigned short *OUTPUT"?


libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [hidden email]