Be clear that g_str_hash etc. don't accept NULL
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 4 Oct 2011 08:48:35 +0000 (09:48 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 4 Oct 2011 08:48:35 +0000 (09:48 +0100)
commitf778564ba2c389856904de3cc80126d7cfb988c2
tree92b76e57002202ae432b20dd572f386381d1e484
parent34a122454966546fed0ccbb73338b28021e76481
Be clear that g_str_hash etc. don't accept NULL

This covers the str, double, int, int64 hash and equal functions, but not
anything that takes an "object", since the convention is that "object
methods" never accept NULL anyway.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=592715
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Colin Walters <walters@verbum.org>
glib/ghash.c