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
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
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++)