libftdi Archives

Subject: swig data types

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 16 Apr 2010 23:21:42 +0200
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 libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • swig data types, Thomas Jarosch <=