[Geany-devel] ANN: doc_array, doc_list replaced

Nick Treleaven nick.treleaven at xxxxx
Thu May 29 17:18:37 UTC 2008


Hi,
To fix the ABI problem described in my previous post, I've now replaced
doc_array with a GPtrArray. Whilst doing that I decided to rename it
documents_array, and the doc_list macro documents (for consistency
with filetypes_array). It wasn't possible to deprecate the doc_list
macro. The deprecated function macro documents is now removed
completely.

To fix outside plugins, I suggest doing the following:

1. Word-replace any use of the deprecated function macro documents with
p_document.

2. Do a regex replace for:
\<doc_list\[(\w+)\]\.
with:
documents[\1]->

3. Word-replace doc_array with documents_array.

I hope that the remaining API changes won't affect plugins so much.

For commit details, see:
http://geany.svn.sourceforge.net/geany/?rev=2624&view=rev

As usual, any comments, ideas, problems, etc, just let us know.

Regards,
Nick



More information about the Devel mailing list