missing const in some g_list_ decl




it seems to me that in those functions, data should be gconstpointer 
instead of gpointer. Same for gslist_


GList* g_list_find		(GList		*list,
				 gpointer	 data);
GList* g_list_find_custom	(GList		*list,
				 gpointer	 data,
				 GCompareFunc	 func);
gint   g_list_index		(GList		*list,
				 gpointer	 data);


Regards,

	Bertrand 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]