git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0bff7d
)
lib/ccan/typesafe_cb: fix example macro ordering in typesafe_cb_preargs documentation.
author
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 5 Dec 2011 06:12:45 +0000
(16:42 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 5 Dec 2011 06:12:45 +0000
(16:42 +1030)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit
12652625db55f6586e95fc5edc73e1e85bae8a5c
)
lib/ccan/typesafe_cb/typesafe_cb.h
patch
|
blob
|
history
diff --git
a/lib/ccan/typesafe_cb/typesafe_cb.h
b/lib/ccan/typesafe_cb/typesafe_cb.h
index 3dddd501a3f8f00eaa5ad33ae6357776e24f9110..884314975eda5506f6eed3ef941ae7401dd21a3e 100644
(file)
--- a/
lib/ccan/typesafe_cb/typesafe_cb.h
+++ b/
lib/ccan/typesafe_cb/typesafe_cb.h
@@
-101,8
+101,8
@@
* Example:
* void _register_callback(void (*fn)(int, void *arg), void *arg);
* #define register_callback(fn, arg) \
- * _register_callback(typesafe_cb_preargs(void,
(fn), void *,
\
- * (
arg), int),
\
+ * _register_callback(typesafe_cb_preargs(void,
void *,
\
+ * (
fn), (arg), int),
\
* (arg))
*/
#define typesafe_cb_preargs(rtype, atype, fn, arg, ...) \