diff options
Diffstat (limited to 'deps/uv/docs/src/request.rst')
-rw-r--r-- | deps/uv/docs/src/request.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/deps/uv/docs/src/request.rst b/deps/uv/docs/src/request.rst index 54d9a2f309..56038287b2 100644 --- a/deps/uv/docs/src/request.rst +++ b/deps/uv/docs/src/request.rst @@ -46,7 +46,6 @@ Public members UV_WORK, UV_GETADDRINFO, UV_GETNAMEINFO, - UV_REQ_TYPE_PRIVATE, UV_REQ_TYPE_MAX, } uv_req_type; @@ -54,6 +53,14 @@ Public members API --- +.. c:function:: UV_REQ_TYPE_MAP(iter_macro) + + Macro that expands to a series of invocations of `iter_macro` for + each of the request types. `iter_macro` is invoked with two + arguments: the name of the `uv_req_type` element without the `UV_` + prefix, and the name of the corresponding structure type without the + `uv_` prefix and `_t` suffix. + .. c:function:: int uv_cancel(uv_req_t* req) Cancel a pending request. Fails if the request is executing or has finished |