Example #1
0
uv_tty_t* luv_create_tty(lua_State* L) {
  return (uv_tty_t*)luv_handle_create(L, sizeof(uv_tty_t), "luv_tty")->handle;
}
Example #2
0
uv_pipe_t* luv_create_pipe(lua_State* L) {
  return (uv_pipe_t*)luv_handle_create(L, sizeof(uv_pipe_t), "luv_pipe")->handle;
}
Example #3
0
uv_signal_t* luv_create_signal(lua_State* L) {
  return (uv_signal_t*)luv_handle_create(L, sizeof(uv_signal_t), "luv_signal")->handle;
}
Example #4
0
uv_timer_t* luv_create_timer(lua_State* L) {
  return (uv_timer_t*)luv_handle_create(L, sizeof(uv_timer_t), "luv_timer")->handle;
}
Example #5
0
uv_process_t* luv_create_process(lua_State* L) {
  return (uv_process_t*)luv_handle_create(L, sizeof(uv_process_t), "luv_process")->handle;
}
Example #6
0
uv_udp_t* luv_create_udp(lua_State* L) {
  return (uv_udp_t*)luv_handle_create(L, sizeof(uv_udp_t), "luv_udp")->handle;
}
Example #7
0
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;
}
Example #8
0
File: util.c Project: tarruda/luv
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;
}
Example #9
0
uv_poll_t* luv_create_poll(lua_State* L) {
  return (uv_poll_t*)luv_handle_create(L, sizeof(uv_poll_t), "luv_poll")->handle;
}
Example #10
0
File: util.c Project: tarruda/luv
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;
}
Example #11
0
File: util.c Project: tarruda/luv
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;
}
Example #12
0
File: util.c Project: tarruda/luv
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;
}
Example #13
0
File: util.c Project: tarruda/luv
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;
}
Example #14
0
File: common.c Project: dvv/luv
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;
}