libftdi Archives

Subject: Re: merging of libusb-1.0 support into mainline

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Mike Frysinger <vapier@xxxxxxxxxx>
Date: Tue, 7 Sep 2010 19:41:40 +0200
>>>>> "Thomas" == Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx> writes:

    Thomas> On Thursday, 2. September 2010 20:58:59 you wrote:
    >> > The "ftdi_context" structure was expanded in libftdi-1.x, > IMHO
    >> this won't be ABI compatible.
    >> 
    >> yes & no.  i see the items were added to the end -- good.  and the
    >> allocation is always handled by libftdi ?  so users will not be doing
    >> malloc(struct ftdi_context) but rather ftdi_new() ?

Wouldn't be the 1.0 release be a good point where we should make ftdi_context
opaque to the users, disallow all direct access and  force the user to do
ftdi_new() ?
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

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

Current Thread