Commit 12652625 authored by Rusty Russell's avatar Rusty Russell

typesafe_cb: fix example macro ordering in typesafe_cb_preargs documentation.

parent 3a34aa1a
......@@ -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, ...) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment