[Geany] Geany Custom GDB

Enrico Tröger enrico.troeger at xxxxx
Tue Jun 16 19:54:13 UTC 2009


On Tue, 16 Jun 2009 21:51:35 +0200, Barbieri wrote:

>YEAH!!!
>
>the problem is here!!
>
>    if (NZV(default_value))
>        gtk_entry_set_text(GTK_ENTRY(entry), default_value);
>
>NZV is not recognized!!
>
>But... what is NZV??

A convenience macro to check a string whether it is non-NULL and
non-empty (NZV = non zero value).
The macro is defined in src/utils.h in Geany.

So, just add
#include "utils.h"
to the list of included headers in gdb_ui_main.c and it should work.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20090616/8017cff9/attachment.pgp>


More information about the Users mailing list