libftdi Archives

Subject: RE: stable ABI

From: "Michael Plante" <michael.plante@xxxxxxxxx>
To: <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Cc: "Mike Frysinger" <vapier@xxxxxxxxxx>
Date: Fri, 17 Sep 2010 14:51:35 -0500
Mike Frysinger wrote:
>> the goal is to hide struct internals completely so that the exported
header
>> only has an opaque type:
>>      struct ftdi_eeprom;
>>
>> any fields inside of that which users need to access will be via get/set
>> helpers.

Ok.


>> then people may make all the changes they want to the structure
>> without disrupting the ABI.

But there are libftdi binaries floating around that still do encourage
transparent access to elements of the data structure, and there are older
programs that still touch those.  Even if we now make the structure opaque,
won't moving those elements around break the older programs?

Michael


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

Current Thread