Callback wrappers
- From: Russell Shaw <rjshaw iprimus com au>
- To: gtk-app-devel-list gnome org
- Subject: Callback wrappers
- Date: Tue, 07 Oct 2003 01:59:09 +1000
Hi,
Frequently i have to make an annoying wrapper function just so
that g_slist_foreach() sees the right kind of callback function:
void draw_slist(gpointer data, gpointer user_data)
{
obj_draw(OBJCLASS(data));
}
Is there any way around this like registering something with g_slist?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]