Mercurial > pidgin.yaz
comparison libpurple/accountopt.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 | e3e42a99070e |
children | 44b4e8bd759b |
comparison
equal
deleted
inserted
replaced
18117:cd81f8f36788 | 18118:ab6d2763b8d8 |
---|---|
294 /** | 294 /** |
295 * Returns the list values for an account option. | 295 * Returns the list values for an account option. |
296 * | 296 * |
297 * @param option The account option. | 297 * @param option The account option. |
298 * | 298 * |
299 * @return The list values. | 299 * @constreturn The list values. |
300 */ | 300 */ |
301 const GList *purple_account_option_get_list(const PurpleAccountOption *option); | 301 GList *purple_account_option_get_list(const PurpleAccountOption *option); |
302 | 302 |
303 /*@}*/ | 303 /*@}*/ |
304 | 304 |
305 | 305 |
306 /**************************************************************************/ | 306 /**************************************************************************/ |