On Tue, 16 Aug 2011 21:01:42 +0800 Chow Loong Jin <[email protected]> wrote:
> On 16/08/2011 20:03, Thomas Martitz wrote: > > > > > > Correct. ABI changes do need a recompilation. API changes need > > nothing. > > > > Sometimes both the API and ABI "break", and then you need changes > > in the source and of course a recompilation. > > > > Extending a structure is ABI breakage if its size changes and the > > size is exposed (i.e. struct_ptr++ has a different effect in Geany > > and the plugin). That's why some projects pad structures to make > > extensions not change the size. > > Doesn't an API change need a code change as well? For example, if you > changed the number of arguments a function took.. AFAIK that's both > API and ABI breakage. Yes. This will increase API and ABI change and on recompiling it won't compile due wrong signature. Cheers, Frank -- http://frank.uvena.de/en/
pgpiFj5dkwbPE.pgp
Description: PGP signature
_______________________________________________ Geany-devel mailing list [email protected] https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
