Hello,
If I put 'extern' in ConfigUI.h, geany cannot load my plugin :
Can't load plugin: /usr/local/lib/geany/pretty-print.so: undefined symbol:
prettyPrintingOptions
Do I miss something somewhere ?
Regards,
Cedric
On Sat, Sep 12, 2009 at 10:04 AM, Eugene Arshinov earshi...@gmail.comwrote:
Hi Eugene,
Thanks for your explanations :-) That's important to me to understand how
it works !
Can you tell me if it is the good way to solve this like that :
in ConfigUI.h
#ifndef PP_CONFIG_UI_PPOPTIONS
extern
#endif
PrettyPrintingOptions* prettyPrintingOptions;
in ConfigUI.c
#define
Hi Cedric.
It is common to accept little code duplication and just write
in ConfigUI.h:
extern PrettyPrintingOptions* prettyPrintingOptions;
in ConfigUI.c:
#include ConfigUi.h
PrettyPrintingOptions* prettyPrintingOptions;
This way is more straightforward and obvious.
On Sat, 12 Sep
Hi,
Putting extern will make that a declaration which is what you want in
a header that is used several times, but you have to define it
somewhere, usually in a file that is only used once like a .c file.
Cheers
Lex
2009/9/12 Cédric Tabin tabin.ced...@gmail.com:
Hello,
If I put 'extern' in
On Mon, 7 Sep 2009 17:17:39 +1000
Lex Trotman ele...@gmail.com wrote:
I submit a new patch for including a popular format among musicians:
ABC notation.
...
I don't want to be the killjoy, but I don't want to add any arbitrary
filetypes. We should limit the list of filetypes to those which
On Thu, 10 Sep 2009 18:57:11 -0400
Seth Keiper erst...@gmail.com wrote:
Have you seen the HACKING file?
Yes, this is where I got the info to add the COBOL lexr
OK, it mentions about checking the Scintilla project first, but after
several recent patches I just added a clearer warning.
A
On Wed, 9 Sep 2009 14:04:05 +0300
Yura Siamashka yura...@gmail.com wrote:
Also please add sci_set_marker_at_line and sci_is_marker_set_at_line
to plugin API. I will need them to show breakpoints and current line
when debugging.
Committed, thanks. I split sci_set_marker_at_line into