Mercurial > pidgin
comparison libpurple/protocols/silc/chat.c @ 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 | 9a96d8711303 |
children | 285bb637a2b7 6b02dba5bf41 |
comparison
equal
deleted
inserted
replaced
18117:cd81f8f36788 | 18118:ab6d2763b8d8 |
---|---|
289 { | 289 { |
290 SilcPurple sg = sgc->sg; | 290 SilcPurple sg = sgc->sg; |
291 SilcClient client = sg->client; | 291 SilcClient client = sg->client; |
292 SilcClientConnection conn = sg->conn; | 292 SilcClientConnection conn = sg->conn; |
293 PurpleRequestField *f; | 293 PurpleRequestField *f; |
294 const GList *list; | 294 GList *list; |
295 SilcPublicKey public_key; | 295 SilcPublicKey public_key; |
296 SilcBuffer chpks, pk, chidp; | 296 SilcBuffer chpks, pk, chidp; |
297 SilcUInt16 c = 0, ct; | 297 SilcUInt16 c = 0, ct; |
298 unsigned char mode[4]; | 298 unsigned char mode[4]; |
299 SilcUInt32 m; | 299 SilcUInt32 m; |