summaryrefslogtreecommitdiffstats
path: root/Source/cmUVHandlePtr.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-11-20 20:52:53 (GMT)
committerBrad King <brad.king@kitware.com>2023-11-20 23:22:53 (GMT)
commitfb7ee82271cabed2197e1ed0c5be70453184e4e2 (patch)
treef736ec77cbec9bf318132defbe29cdc045725441 /Source/cmUVHandlePtr.h
parent9dd14b2946eb821c1b8e5a5a8f81653710826a01 (diff)
downloadCMake-fb7ee82271cabed2197e1ed0c5be70453184e4e2.zip
CMake-fb7ee82271cabed2197e1ed0c5be70453184e4e2.tar.gz
CMake-fb7ee82271cabed2197e1ed0c5be70453184e4e2.tar.bz2
cmUVHandlePtr: Add uv_idle_ptr::{start,stop} methods
These were missing w.r.t. the pattern established for other handle wrappers.
Diffstat (limited to 'Source/cmUVHandlePtr.h')
-rw-r--r--Source/cmUVHandlePtr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmUVHandlePtr.h b/Source/cmUVHandlePtr.h
index 7f70b36..7617415 100644
--- a/Source/cmUVHandlePtr.h
+++ b/Source/cmUVHandlePtr.h
@@ -201,6 +201,10 @@ struct uv_idle_ptr : public uv_handle_ptr_<uv_idle_t>
CM_INHERIT_CTOR(uv_idle_ptr, uv_handle_ptr_, <uv_idle_t>);
int init(uv_loop_t& loop, void* data = nullptr);
+
+ int start(uv_idle_cb cb);
+
+ void stop();
};
struct uv_signal_ptr : public uv_handle_ptr_<uv_signal_t>