diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-03-03 17:35:14 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-03-10 19:14:55 +0000 |
commit | 09c9d6406b75f161429e16b2e45dcae3eb60cef9 (patch) | |
tree | 56d0f71974bdf50c14a0e97f0a44879d85e27d7d /test/break-loader.c | |
parent | 8299a41aa6808f020907b17bf3a66d9f360305be (diff) | |
download | dbus-09c9d6406b75f161429e16b2e45dcae3eb60cef9.tar.gz |
Make dbus_type_is_valid into public API
This is just as useful for bindings as dbus_signature_validate, and I
think it's a good design principle to say that anything checked in a
_dbus_return_if_fail should be something the caller could check
for themselves.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=20496
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Diffstat (limited to 'test/break-loader.c')
-rw-r--r-- | test/break-loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/break-loader.c b/test/break-loader.c index 7bfa7227..542f36ff 100644 --- a/test/break-loader.c +++ b/test/break-loader.c @@ -446,7 +446,7 @@ randomly_change_one_type (const DBusString *orig_data, { int b; b = _dbus_string_get_byte (mutated, i); - if (_dbus_type_is_valid (b)) + if (dbus_type_is_valid (b)) { _dbus_string_set_byte (mutated, i, random_type ()); return; |