libpurple/protocols/qq/group_internal.c

branch
release-2.4.3
changeset 23212
a39a33c79a3f
parent 23194
e8c312705ee8
child 23213
7aaa8e8233bc
child 24018
91f0294f2377
equal deleted inserted replaced
23211:ec9776e51fb1 23212:a39a33c79a3f
228 *list = g_slist_prepend(*list, GINT_TO_POINTER(id)); 228 *list = g_slist_prepend(*list, GINT_TO_POINTER(id));
229 else 229 else
230 *list = g_slist_remove(*list, GINT_TO_POINTER(id)); 230 *list = g_slist_remove(*list, GINT_TO_POINTER(id));
231 } 231 }
232 232
233 /** 233 /* Return the location of id in list, or NULL if not found */
234 * @brief Return the location of id in list, or NULL if not found (返回id在链表中的位置,没有找到则返回NULL)
235 */
236 GSList *qq_get_pending_id(GSList *list, guint32 id) 234 GSList *qq_get_pending_id(GSList *list, guint32 id)
237 { 235 {
238 return g_slist_find(list, GINT_TO_POINTER(id)); 236 return g_slist_find(list, GINT_TO_POINTER(id));
239 } 237 }

mercurial