diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/README.md b/README.md index 14f6963..634281d 100644 --- a/README.md +++ b/README.md @@ -64,9 +64,12 @@ Now comes a funny part, any of these method implementations may hook up into the parent link in a chain to perform their actions: ```c -static int shutdown_impl(uv_link_t* link, uv_link_shutdown_cb cb) { +static int shutdown_impl(uv_link_t* link, + uv_link_t* source, + uv_link_shutdown_cb cb, + void* arg) { fprintf(stderr, "this will be printed\n"); - return uv_link_shutdown(link->parent, cb); + return uv_link_shutdown(link->parent, cb, arg); } ``` |