libftdi Archives

Subject: swig data types

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 16 Apr 2010 23:21:42 +0200

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 
%clear unsigned short *status;

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


libftdi - see for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • swig data types, Thomas Jarosch <=