[Geany] Re: Lua plugin 0.5.0 released
Jeff Pohlmeyer
yetanothergeek at xxxxx
Thu Jan 3 18:31:06 UTC 2008
On Jan 3, 2008 11:51 AM, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> Sorry, I didn't want to break your plugin. I guess you had to change
> something which was called "filetype".
The problem was with the order of the include files, e.g.
this works:
#include "filetypes.h"
#include "pluginmacros.h"
but not this:
#include "pluginmacros.h"
#include "filetypes.h"
> This will probably change again soon. Sorry.
> There are problems with conflicting names of preprocessor macros,
> field names and types. I will rename something to solve this.
IMO, the names from pluginmacros.h should be all uppercase.
I know this will break all of the existing plugins, but I think it is
much better in the long run, it makes the code more readable,
at least for me.
- Jeff
More information about the Users
mailing list