Re: [Geany-devel] SF.net SVN: geany-plugins:[895] trunk/geany-plugins/pretty-printer/src

2009-08-14 Thread Cédric Tabin
Hi Enrico, 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

Re: [Geany-devel] SF.net SVN: geany-plugins:[895] trunk/geany-plugins/pretty-printer/src

2009-08-14 Thread Nick Treleaven
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

Re: [Geany-devel] SF.net SVN: geany-plugins:[895] trunk/geany-plugins/pretty-printer/src

2009-08-13 Thread Enrico Tröger
On Thu, 13 Aug 2009 10:47:14 +, cta...@users.sourceforge.net wrote: Hi, -extern GeanyPlugin* geany_plugin; -extern GeanyData* geany_data; -extern GeanyFunctions*geany_functions; +GeanyPlugin* geany_plugin; +GeanyData* geany_data;