Mercurial > pidgin.yaz
diff libpurple/conversation.h @ 18118:ab6d2763b8d8
Re-fix the DBus list handling code by killing const GList* / const GSList*
everywhere. Now we maintain a list of functions which return a GList or
GSList which must not be freed. Ideally at some point this will be
replaced with code that looks at the Doxygen comment for the function and
honors @constreturn, which I've declared as a macro around @return that
prints a @note about not modifying or freeing the returned value.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 16 Jun 2007 19:44:59 +0000 |
parents | 926ccb104da0 |
children | d57926990768 |
line wrap: on
line diff
--- a/libpurple/conversation.h Sat Jun 16 19:21:06 2007 +0000 +++ b/libpurple/conversation.h Sat Jun 16 19:44:59 2007 +0000 @@ -502,21 +502,21 @@ * * This list includes both IMs and chats. * - * @return A GList of all conversations. + * @constreturn A GList of all conversations. */ GList *purple_get_conversations(void); /** * Returns a list of all IMs. * - * @return A GList of all IMs. + * @constreturn A GList of all IMs. */ GList *purple_get_ims(void); /** * Returns a list of all chats. * - * @return A GList of all chats. + * @constreturn A GList of all chats. */ GList *purple_get_chats(void); @@ -875,7 +875,7 @@ * * @param chat The chat. * - * @return The list of users. + * @constreturn The list of users. */ GList *purple_conv_chat_get_users(const PurpleConvChat *chat);