[PATCH 0/4] typesafe callbacks

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rusty Russell
Date: Thursday, July 24, 2008 - 7:13 pm

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.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/4] typesafe callbacks, Rusty Russell, (Thu Jul 24, 7:13 pm)
[PATCH 3/4] typesafe: kthread_create and kthread_run, Rusty Russell, (Thu Jul 24, 7:17 pm)
[PATCH 4/4] typesafe: TIMER_INITIALIZER and setup_timer, Rusty Russell, (Thu Jul 24, 7:19 pm)