From dc1ea27c736f0d21c7160c790bcd1b113d20abd9 Mon Sep 17 00:00:00 2001 From: Graham Lee Date: Sun, 13 Jul 2014 01:57:52 +0900 Subject: [PATCH] doc: clarify the return value of uv_default_loop --- include/uv.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uv.h b/include/uv.h index 5dc710e5..8909e10f 100644 --- a/include/uv.h +++ b/include/uv.h @@ -258,7 +258,8 @@ UV_EXTERN const char* uv_version_string(void); */ /* - * Returns the default loop. + * Returns the initialized default loop. It may return NULL in case of + * allocation failture. */ UV_EXTERN uv_loop_t* uv_default_loop(void);