diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-18 16:30:30 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-18 16:30:30 -0800 |
commit | 9992b8eb0e3366ff8a3948aa0b66a19c3c12c737 (patch) | |
tree | 6dda0fef85812016fbba9ea067c9d586092b506d /iothread.h | |
parent | bab69f26724028d16054a3daf5c78aad7c67bb2d (diff) |
Apply new indentation, brace, and whitespace style
Diffstat (limited to 'iothread.h')
-rw-r--r-- | iothread.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -30,7 +30,8 @@ void iothread_drain_all(void); /** Helper template */ template<typename T> -int iothread_perform(int (*handler)(T *), void (*completionCallback)(T *, int), T *context) { +int iothread_perform(int (*handler)(T *), void (*completionCallback)(T *, int), T *context) +{ return iothread_perform_base((int (*)(void *))handler, (void (*)(void *, int))completionCallback, static_cast<void *>(context)); } |