]> git.ipfire.org Git - thirdparty/dbus.git/commit
dbus_type_is_basic etc.: it is an error to pass in bad typecodes
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 3 Mar 2011 16:51:56 +0000 (16:51 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 10 Mar 2011 18:58:37 +0000 (18:58 +0000)
commitd60cc351feb6a06226ff76d4caba35bf785bfb80
treed605e4bff8de5484a150c38bdc472743116d4ad5
parenteb6d268f581801d829f762daae399726e32a7b62
dbus_type_is_basic etc.: it is an error to pass in bad typecodes

Previously, the comments said "this function will crash", but that's not
strictly true (checks can be disabled or made non-fatal). Their behaviour
is undefined if you do that, though.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=20496
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
dbus/dbus-signature.c