uv_tty_t* luv_create_tty(lua_State* L) { return (uv_tty_t*)luv_handle_create(L, sizeof(uv_tty_t), "luv_tty")->handle; }
uv_pipe_t* luv_create_pipe(lua_State* L) { return (uv_pipe_t*)luv_handle_create(L, sizeof(uv_pipe_t), "luv_pipe")->handle; }
uv_signal_t* luv_create_signal(lua_State* L) { return (uv_signal_t*)luv_handle_create(L, sizeof(uv_signal_t), "luv_signal")->handle; }
uv_timer_t* luv_create_timer(lua_State* L) { return (uv_timer_t*)luv_handle_create(L, sizeof(uv_timer_t), "luv_timer")->handle; }
uv_process_t* luv_create_process(lua_State* L) { return (uv_process_t*)luv_handle_create(L, sizeof(uv_process_t), "luv_process")->handle; }
uv_udp_t* luv_create_udp(lua_State* L) { return (uv_udp_t*)luv_handle_create(L, sizeof(uv_udp_t), "luv_udp")->handle; }
uv_fs_event_t* luv_create_fs_watcher(lua_State* L) { return (uv_fs_event_t*)luv_handle_create(L, sizeof(uv_fs_event_t), "luv_fs_watcher")->handle; }
static uv_timer_t* luv_create_timer(lua_State* L) { luv_handle_t* lhandle = luv_handle_create(L, sizeof(uv_timer_t), LUV_TIMER_MASK); return (uv_timer_t*)lhandle->handle; }
uv_poll_t* luv_create_poll(lua_State* L) { return (uv_poll_t*)luv_handle_create(L, sizeof(uv_poll_t), "luv_poll")->handle; }
static uv_process_t* luv_create_process(lua_State* L) { luv_handle_t* lhandle = luv_handle_create(L, sizeof(uv_process_t), LUV_PROCESS_MASK); return (uv_process_t*)lhandle->handle; }
static uv_pipe_t* luv_create_pipe(lua_State* L) { luv_handle_t* lhandle = luv_handle_create(L, sizeof(uv_pipe_t), LUV_PIPE_MASK); return (uv_pipe_t*)lhandle->handle; }
static uv_tty_t* luv_create_tty(lua_State* L) { luv_handle_t* lhandle = luv_handle_create(L, sizeof(uv_tty_t), LUV_TTY_MASK); return (uv_tty_t*)lhandle->handle; }
static uv_udp_t* luv_create_udp(lua_State* L) { luv_handle_t* lhandle = luv_handle_create(L, sizeof(uv_udp_t), LUV_UDP_MASK); return (uv_udp_t*)lhandle->handle; }
uv_tcp_t* luv_create_tcp(lua_State* L) { luv_handle_t* lhandle = luv_handle_create(L, sizeof(uv_tcp_t), LUV_TCP_MASK); return (uv_tcp_t*)lhandle->handle; }