diff options
author | Mikael Hallendal <micke@imendio.com> | 2003-11-27 01:25:50 +0000 |
---|---|---|
committer | Mikael Hallendal <micke@imendio.com> | 2003-11-27 01:25:50 +0000 |
commit | 9f1a60dbba69844c0a04b3dd86280352736187ce (patch) | |
tree | b50747f9d3b395ba92bd37109504626813f03802 /dbus/dbus-hash.c | |
parent | 6d9f72b9e651d90fcbd191b43b5e91ba7bd63789 (diff) |
2003-11-26 Mikael Hallendal <micke@imendio.com>
* bus/*.[ch]:
* dbus/*.[ch]:
* glib/*.[ch]: Made ref functions return the pointer
Diffstat (limited to 'dbus/dbus-hash.c')
-rw-r--r-- | dbus/dbus-hash.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dbus/dbus-hash.c b/dbus/dbus-hash.c index d35087b4..b0581510 100644 --- a/dbus/dbus-hash.c +++ b/dbus/dbus-hash.c @@ -348,11 +348,14 @@ _dbus_hash_table_new (DBusHashType type, * Increments the reference count for a hash table. * * @param table the hash table to add a reference to. + * @returns the hash table. */ -void +DBusHashTable * _dbus_hash_table_ref (DBusHashTable *table) { table->refcount += 1; + + return table; } /** |