Mercurial > pidgin
comparison libpurple/request.h @ 18179:72906c5ac037
Add G_GNUC_NULL_TERMINATED to a few functions that expect a NULL terminated
list of things. This will generate some _useful_ compile warnings, for a
change, when such functions are invoked without appending a NULL at the end.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 18 Jun 2007 12:43:44 +0000 |
parents | ab6d2763b8d8 |
children | cc36a5aac908 9a31c183b470 |
comparison
equal
deleted
inserted
replaced
18178:160ec876bbaf | 18179:72906c5ac037 |
---|---|
1226 const char *primary, const char *secondary, | 1226 const char *primary, const char *secondary, |
1227 unsigned int default_value, | 1227 unsigned int default_value, |
1228 const char *ok_text, GCallback ok_cb, | 1228 const char *ok_text, GCallback ok_cb, |
1229 const char *cancel_text, GCallback cancel_cb, | 1229 const char *cancel_text, GCallback cancel_cb, |
1230 PurpleAccount *account, const char *who, PurpleConversation *conv, | 1230 PurpleAccount *account, const char *who, PurpleConversation *conv, |
1231 void *user_data, ...); | 1231 void *user_data, ...) G_GNUC_NULL_TERMINATED; |
1232 | 1232 |
1233 /** | 1233 /** |
1234 * Prompts the user for multiple-choice input. | 1234 * Prompts the user for multiple-choice input. |
1235 * | 1235 * |
1236 * @param handle The plugin or connection handle. For some | 1236 * @param handle The plugin or connection handle. For some |