diff options
author | Havoc Pennington <hp@redhat.com> | 2004-12-19 00:11:20 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2004-12-19 00:11:20 +0000 |
commit | f3228b477df95ba247c90cc54189ce6d62059251 (patch) | |
tree | 59fa3a8b8a3a81606d2ac5e7ecf88fafc7adb967 /dbus/dbus-internals.h | |
parent | b360305cdae87c8cb5d0f8cb167c8626238fc4e8 (diff) |
2004-12-18 Havoc Pennington <hp@redhat.com>
* dbus/dbus-string.c (_dbus_string_validate_ascii): use ISASCII
macro
* dbus/dbus-message.c: fix a comment, and add a still-unused
not-implemented function
* dbus/dbus-marshal.h: fix comment
* dbus/dbus-internals.h (_DBUS_ISASCII): new macro
Diffstat (limited to 'dbus/dbus-internals.h')
-rw-r--r-- | dbus/dbus-internals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/dbus-internals.h b/dbus/dbus-internals.h index 7e3c458f..8560d4ec 100644 --- a/dbus/dbus-internals.h +++ b/dbus/dbus-internals.h @@ -198,6 +198,8 @@ char** _dbus_dup_string_array (const char **array); #undef ABS #define ABS(a) (((a) < 0) ? -(a) : (a)) +#define _DBUS_ISASCII(c) ((c) != '\0' && (((c) & ~0x7f) == 0)) + typedef void (* DBusForeachFunction) (void *element, void *data); |