libftdi Archives

Subject: Re: Outstanding patches for v1.5?

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 2 Oct 2019 09:32:18 +0200
Hi Xan,

You wrote on Tue, Oct 01, 2019 at 03:30:34PM +0000:
> I just have a cleanup patch here:
> 
> diff --git a/python/ftdi1.i b/python/ftdi1.i
> index 8b179f9..db54867 100644
> --- a/python/ftdi1.i
> +++ b/python/ftdi1.i
> @@ -43,6 +43,10 @@ char * str2charp_size(PyObject* pyObj, int * size)
> 
>  %rename("%(strip:[ftdi_])s") "";
> 
> +%ignore ftdi_usb_purge_rx_buffer;
> +%ignore ftdi_usb_purge_tx_buffer;
> +%ignore ftdi_usb_purge_buffers;
> +
>  %newobject ftdi_new;
>  %typemap(newfree) struct ftdi_context *ftdi "ftdi_free($1);";
>  %delobject ftdi_free;

hmm, wouldn't this remove / skip those three functions
that were previously available to the user?

Cheers,
Thomas

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread