Messages in this thread |  | | Date | Tue, 24 Oct 2000 19:26:08 +0200 | From | Abramo Bagnara <> |
| |
Linus Torvalds wrote: > > > struct event { > int fd; > unsigned long mask; > void *opaque; > void (*event_fn)(ind fd, unsigned long mask, void *opaque);
My experience say that:
unsigned long rmask; void (*event_fn)(struct event *event);
is a far better solution (more type safe, more descriptive).
-- Abramo Bagnara mailto:abramo@alsa-project.org
Opera Unica Via Emilia Interna, 140 Phone: +39.0546.656023 48014 Castel Bolognese (RA) - Italy Fax: +39.0546.656023
ALSA project is http://www.alsa-project.org sponsored by SuSE Linux http://www.suse.com
It sounds good! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |