g_string_equal is missing?
- From: Peter Jay Salzman <p dirac org>
- To: gtk-app-devel-list gnome org
- Subject: g_string_equal is missing?
- Date: Thu, 16 Aug 2001 10:26:42 -0700
dear all,
the linker doesn't seem to find any references to g_string_equal.  has this
function been removed?
are we supposed to use strncmp on GString foo->str to compare strings?
        #include <stdio.h>
        #include <gtk/gtk.h>
        int main(void)
        {
                GString *foo, *bar;
                foo = g_string_new("hello");
                bar = g_string_new("world");
                if (g_string_equal(foo, bar)) {   /* undefined reference */
                        printf("equal\n");
                }
                return 0;
        }
pete
-- 
"The following addresses had permanent fatal errors..."      p dirac org
                               -- Mailer Daemon              www.dirac.org/p
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]