Files
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

34 lines
497 B
C++

#ifndef MS_DEP_LIBUV_HPP
#define MS_DEP_LIBUV_HPP
#include "common.hpp"
#include <uv.h>
class DepLibUV
{
public:
static void ClassInit();
static void ClassDestroy();
static void PrintVersion();
static void RunLoop();
static uv_loop_t* GetLoop();
static uint64_t GetTime();
private:
static uv_loop_t* loop;
};
/* Inline static methods. */
inline uv_loop_t* DepLibUV::GetLoop()
{
return DepLibUV::loop;
}
inline uint64_t DepLibUV::GetTime()
{
return uv_now(DepLibUV::loop);
}
#endif