예제 #1
0
파일: utils.c 프로젝트: GamingAtheist/luvit
uv_tty_t* luv_create_tty(lua_State* L) {
  return (uv_tty_t*)luv_handle_create(L, sizeof(uv_tty_t), "luv_tty")->handle;
}
예제 #2
0
파일: utils.c 프로젝트: GamingAtheist/luvit
uv_pipe_t* luv_create_pipe(lua_State* L) {
  return (uv_pipe_t*)luv_handle_create(L, sizeof(uv_pipe_t), "luv_pipe")->handle;
}
예제 #3
0
파일: utils.c 프로젝트: GamingAtheist/luvit
uv_signal_t* luv_create_signal(lua_State* L) {
  return (uv_signal_t*)luv_handle_create(L, sizeof(uv_signal_t), "luv_signal")->handle;
}
예제 #4
0
파일: utils.c 프로젝트: GamingAtheist/luvit
uv_timer_t* luv_create_timer(lua_State* L) {
  return (uv_timer_t*)luv_handle_create(L, sizeof(uv_timer_t), "luv_timer")->handle;
}
예제 #5
0
파일: utils.c 프로젝트: GamingAtheist/luvit
uv_process_t* luv_create_process(lua_State* L) {
  return (uv_process_t*)luv_handle_create(L, sizeof(uv_process_t), "luv_process")->handle;
}
예제 #6
0
파일: utils.c 프로젝트: GamingAtheist/luvit
uv_udp_t* luv_create_udp(lua_State* L) {
  return (uv_udp_t*)luv_handle_create(L, sizeof(uv_udp_t), "luv_udp")->handle;
}
예제 #7
0
파일: utils.c 프로젝트: GamingAtheist/luvit
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;
}
예제 #8
0
파일: util.c 프로젝트: 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;
}
예제 #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;
}
예제 #10
0
파일: util.c 프로젝트: 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;
}
예제 #11
0
파일: util.c 프로젝트: 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;
}
예제 #12
0
파일: util.c 프로젝트: 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;
}
예제 #13
0
파일: util.c 프로젝트: 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;
}
예제 #14
0
파일: common.c 프로젝트: 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;
}