Yes, these are marked as deprecated, Maybe its reasonable to remove them from
the Python bindings.
xan
________________________________
From: Thomas Jarosch <[email protected]>
Sent: Wednesday, October 2, 2019 7:32 AM
To: [email protected] <[email protected]>
Subject: Re: Outstanding patches for v1.5?
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 [email protected]
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]