On Fri, 14 Aug 2009 12:24:41 +0200
Cédric Tabin <tabin.ced...@gmail.com> wrote:

> Thansk for your advices. As I never developped very much in C with header
> files I don't know what's the best... I just see in another plugin that it
> was done like that and thought that it was the right way. However I don't
> understand why the 'extern' before my gean_* variables didn't work. I just
> saw an error into the debug messages of Geany. Maybe you can explain me that
> ?

I haven't looked at your sources. But you should use extern for header
declarations. You also need to declare *one* definition for each
symbol, usually in the 'main' file.

Regards,
Nick
_______________________________________________
Geany-devel mailing list
Geany-devel@uvena.de
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Reply via email to