[PATCH 0/4] typesafe callbacks

From: Rusty Russell
Date: Thu Jul 24 2008 - 22:13:29 EST


It's possible to portably make callbacks typesafe, as well as taking the
existing void * arg. This makes the callers more readable and more typesafe.

Done in a way that doesn't break non-gcc: they just don't get a warning.

Been in linux-next for about two full cycles now, and I really want to start
using this in my own code.

Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/