Re: [Geany-Devel] Implementing stdlib/glib in Geany

2014-04-28 Thread Dimitar Zhekov
On Sun, 27 Apr 2014 23:05:46 +0200 Colomban Wendling lists@herbesfolles.org wrote: Le 27/04/2014 22:28, Pavel Roschin a écrit : I found interesting function in utils.c: gboolean utils_str_equal(const gchar *a, const gchar *b) - GLib has similar g_strcmp0 function since 2.16

Re: [Geany-Devel] Implementing stdlib/glib in Geany

2014-04-28 Thread Colomban Wendling
Le 28/04/2014 20:30, Dimitar Zhekov a écrit : On Sun, 27 Apr 2014 23:05:46 +0200 Colomban Wendling lists@herbesfolles.org wrote: Le 27/04/2014 22:28, Pavel Roschin a écrit : I found interesting function in utils.c: gboolean utils_str_equal(const gchar *a, const gchar *b) - GLib has

[Geany-Devel] Implementing stdlib/glib in Geany

2014-04-27 Thread Pavel Roschin
I found interesting function in utils.c: gboolean utils_str_equal(const gchar *a, const gchar *b) { /* (taken from libexo from os-cillation) */ if (a == NULL b == NULL) return TRUE; else if (a == NULL || b == NULL) return FALSE; while (*a == *b++)