swig data types

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

swig data types

Thomas Jarosch
Hello,

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"?

Thanks,
Thomas


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

Loading...