[Geany-devel] ABI problem with doc_array / doc_list macro

Nick Treleaven nick.treleaven at xxxxx
Thu May 29 12:20:16 UTC 2008


Hi,
I've just discovered a problem - if we add any fields to GeanyDocument,
we have to break the ABI. This is because I used a GArray data
structure, and the doc_list macro indexes this based on the size of
GeanyDocument.

This is clearly a big problem, and the only solution seems to be to
use a GPtrArray instead. This will involve rewriting of every use of
the doc_list macro in all code :-/

Regards,
Nick



More information about the Devel mailing list