Introduced new function type GEqualFunc to return TRUE for equal params.
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Mon, 30 Oct 2000 14:34:52 +0000 (14:34 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Mon, 30 Oct 2000 14:34:52 +0000 (14:34 +0000)
commit267b6813703e24ef60d0e8ba42557c414f9dd52e
tree555ac313ee58d9ea4f7a68855d16ee6c485e54bf
parentd42361a6e3d60fc6b926eae47a7aed85dedfd397
Introduced new function type GEqualFunc to return TRUE for equal params.

2000-10-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* gcache.h, gcache.c, ghash.h, ghash.c, grel.c, grel.h, gtypes.h:
Introduced new function type GEqualFunc to return TRUE for equal
params. This is now used instead of GCompareFunc (which should
work akin to strcmp) here. This kind of fixes Bug #14412. Note
that technically GCompareFunc and GEqualFunc are still the same
types, as gint == gboolean.

* ghash.h, gutils.c: g_int_equal and g_direct_equal now return
gboolean to be really become GEqualFunc.

* gscanner.c, testglib.c, tests/hash-test.c: Some tiny changes to
follow the above change.
29 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gcache.c
gcache.h
ghash.c
ghash.h
glib/gcache.c
glib/gcache.h
glib/ghash.c
glib/ghash.h
glib/grel.c
glib/grel.h
glib/gscanner.c
glib/gtypes.h
glib/gutils.c
grel.c
grel.h
gscanner.c
gtypes.h
gutils.c
testglib.c
tests/hash-test.c
tests/testglib.c