[Geany] getting project base_path from plugin

Bo Lorentsen bl at xxxxx
Tue Dec 25 10:34:20 UTC 2007


Jeff Pohlmeyer wrote:
> On Dec 25, 2007 4:06 AM, Bo Lorentsen <bl at lue.dk> wrote:
>> Jeff Pohlmeyer wrote:
>>
>>> I think this is because there is already a macro named "project" in the
>>> pluginmacros.h file:
> 
>> Has not been coding C for a while, so its easy to forget the preprocessor.
> Don't feel bad, the reason I know this is because it bite me just yesterday :-)
Thanks, that helped :-)

Also, normally when I made preprocessor macros before I user pure 
capital names to make then stand out from the rest of the names ! This 
too is a nice excuse :-)

/BL



More information about the Users mailing list