From ca8603a9eaa0d639ecf96526ac58c534314c9f23 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Fri, 22 Nov 2002 23:18:41 +0000 Subject: 2002-11-22 Havoc Pennington * dbus/dbus-hash.c: copy in Tcl hash table, not yet "ported" away from Tcl * dbus/dbus-types.h: header for types such as dbus_bool_t --- dbus/dbus-memory.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dbus/dbus-memory.h') diff --git a/dbus/dbus-memory.h b/dbus/dbus-memory.h index b8b6559c..4d8728aa 100644 --- a/dbus/dbus-memory.h +++ b/dbus/dbus-memory.h @@ -41,6 +41,8 @@ void dbus_free (void *memory); #define dbus_new(type, count) ((type*)dbus_malloc (sizeof (type) * (count))); #define dbus_new0(type, count) ((type*)dbus_malloc0 (sizeof (type) * (count))); +typedef void (* DBusFreeFunction) (void *memory); + DBUS_END_DECLS #endif /* DBUS_MESSAGE_H */ -- cgit