[Geany-devel] Further API changes before 0.15
Nick Treleaven
nick.treleaven at xxxxx
Fri May 23 11:42:23 UTC 2008
On Thu, 22 May 2008 21:51:52 +0300
Yura Siamashka <yurand2 at gmail.com> wrote:
> On Thu, 22 May 2008 17:58:35 +0100
> Nick Treleaven <nick.treleaven at btinternet.com> wrote:
>
> > If anyone has any comments/ideas about how to improve the API
> > (without too much porting needed), let us know.
> Why app, main_widgets, doc_array, filetypes_array, prefs, project
> macroses don't have 'p_' prefix like all other do?
Well, the p_ prefix was to avoid conflicts with variable and type names
- so mainly to distinguish function struct pointers from variable
pointers.
But I think it would be neater to remove (deprecate for now) these
macros and instead use a geany macro for all API variable pointers as
described in my other post.
Regards,
Nick
More information about the Devel
mailing list