mt-lang 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/index.html +4 -3
- data/lib/milk_tea/base.rb +1 -1
- data/std/asset_pack.mt +267 -0
- data/std/async/libuv_runtime.mt +539 -0
- data/std/async/mailbox.mt +191 -0
- data/std/async/runtime.mt +87 -0
- data/std/async.mt +87 -0
- data/std/base64.mt +185 -0
- data/std/behavior_tree.mt +396 -0
- data/std/binary.mt +314 -0
- data/std/binary_heap.mt +157 -0
- data/std/bitset.mt +239 -0
- data/std/box2d.mt +535 -0
- data/std/bytes.mt +46 -0
- data/std/c/box2d.mt +1254 -0
- data/std/c/cgltf.mt +647 -0
- data/std/c/cjson.mt +106 -0
- data/std/c/crypto.mt +11 -0
- data/std/c/crypto_support.h +51 -0
- data/std/c/ctype.mt +19 -0
- data/std/c/ctype_bindgen.h +29 -0
- data/std/c/curl.mt +1223 -0
- data/std/c/enet.mt +473 -0
- data/std/c/errno.mt +41 -0
- data/std/c/errno_bindgen.h +53 -0
- data/std/c/flecs.mt +2945 -0
- data/std/c/fs.linux.mt +43 -0
- data/std/c/fs.windows.mt +43 -0
- data/std/c/fs_support.h +954 -0
- data/std/c/gl.mt +2065 -0
- data/std/c/gl_registry_helpers.h +10748 -0
- data/std/c/glfw.mt +499 -0
- data/std/c/libc.mt +167 -0
- data/std/c/libuv.mt +1491 -0
- data/std/c/math.mt +22 -0
- data/std/c/math_bindgen.h +31 -0
- data/std/c/miniaudio.mt +3420 -0
- data/std/c/pcre2.mt +735 -0
- data/std/c/process.mt +58 -0
- data/std/c/process_support.h +1147 -0
- data/std/c/raygui.mt +1602 -0
- data/std/c/raylib.mt +1245 -0
- data/std/c/raymath.mt +163 -0
- data/std/c/rlgl.mt +434 -0
- data/std/c/rpng.mt +60 -0
- data/std/c/rres.mt +187 -0
- data/std/c/sdl3.mt +4132 -0
- data/std/c/sqlite3.mt +951 -0
- data/std/c/stb_image.mt +52 -0
- data/std/c/stb_image_resize2.mt +128 -0
- data/std/c/stb_image_write.mt +19 -0
- data/std/c/stb_rect_pack.mt +38 -0
- data/std/c/stb_truetype.mt +175 -0
- data/std/c/stb_vorbis.mt +31 -0
- data/std/c/stdio.mt +90 -0
- data/std/c/steamworks.h +5769 -0
- data/std/c/steamworks.mt +4771 -0
- data/std/c/string.mt +16 -0
- data/std/c/string_bindgen.h +36 -0
- data/std/c/sync.mt +33 -0
- data/std/c/sync_support.h +219 -0
- data/std/c/terminal.mt +24 -0
- data/std/c/terminal_support.h +408 -0
- data/std/c/time.mt +26 -0
- data/std/c/tls.mt +24 -0
- data/std/c/tls_support.h +626 -0
- data/std/c/tracy.mt +53 -0
- data/std/c/zlib.mt +20 -0
- data/std/c/zlib_support.h +239 -0
- data/std/c/zstd.mt +231 -0
- data/std/cell.mt +60 -0
- data/std/cgltf.mt +115 -0
- data/std/cjson.mt +90 -0
- data/std/cli.mt +768 -0
- data/std/cookie.mt +198 -0
- data/std/counter.mt +160 -0
- data/std/crypto.mt +74 -0
- data/std/cstring.mt +13 -0
- data/std/ctype.mt +52 -0
- data/std/curl/runtime.mt +261 -0
- data/std/curl.mt +38 -0
- data/std/deque.mt +348 -0
- data/std/encoding.mt +93 -0
- data/std/enet.mt +133 -0
- data/std/env.mt +41 -0
- data/std/errno.mt +47 -0
- data/std/flecs.mt +978 -0
- data/std/fmt.mt +271 -0
- data/std/fs.linux.mt +696 -0
- data/std/fs.windows.mt +711 -0
- data/std/fsm.mt +267 -0
- data/std/gl.mt +2062 -0
- data/std/glfw.mt +471 -0
- data/std/goap.mt +342 -0
- data/std/graph.mt +521 -0
- data/std/gzip.mt +77 -0
- data/std/hash.mt +429 -0
- data/std/http/server.mt +810 -0
- data/std/http.mt +1227 -0
- data/std/intern.mt +53 -0
- data/std/jobs.mt +288 -0
- data/std/json.mt +627 -0
- data/std/libc.mt +34 -0
- data/std/libuv.mt +554 -0
- data/std/linear_algebra.mt +243 -0
- data/std/linked_map.mt +372 -0
- data/std/linked_map_view.mt +49 -0
- data/std/linked_set.mt +117 -0
- data/std/log.mt +69 -0
- data/std/map.mt +418 -0
- data/std/math.mt +24 -0
- data/std/mem/arena.mt +137 -0
- data/std/mem/endian.mt +51 -0
- data/std/mem/heap.mt +298 -0
- data/std/mem/pool.mt +164 -0
- data/std/mem/stack.mt +47 -0
- data/std/mem/tracking.mt +119 -0
- data/std/miniaudio.mt +1299 -0
- data/std/multiset.mt +191 -0
- data/std/net/channel.mt +727 -0
- data/std/net/clock.mt +237 -0
- data/std/net/discovery.mt +277 -0
- data/std/net/lobby.mt +813 -0
- data/std/net/manager.mt +539 -0
- data/std/net/mux.mt +839 -0
- data/std/net/nat.mt +122 -0
- data/std/net/packet.mt +219 -0
- data/std/net/punch.mt +162 -0
- data/std/net/rpc.mt +119 -0
- data/std/net/session.mt +1157 -0
- data/std/net/stun.mt +252 -0
- data/std/net/sync.mt +183 -0
- data/std/net/turn.mt +459 -0
- data/std/net.mt +2944 -0
- data/std/oauth2.mt +408 -0
- data/std/option.mt +51 -0
- data/std/ordered_map.mt +497 -0
- data/std/ordered_set.mt +348 -0
- data/std/path.mt +368 -0
- data/std/pcre2/runtime.mt +35 -0
- data/std/pcre2.mt +78 -0
- data/std/priority_queue.mt +55 -0
- data/std/process.mt +837 -0
- data/std/queue.mt +55 -0
- data/std/random.mt +146 -0
- data/std/raygui.mt +99 -0
- data/std/raylib/debug_console.mt +71 -0
- data/std/raylib/easing.mt +388 -0
- data/std/raylib/packed_assets.mt +255 -0
- data/std/raylib/runtime.mt +30 -0
- data/std/raylib/tracy_gpu.mt +37 -0
- data/std/raylib.mt +1510 -0
- data/std/raymath.mt +153 -0
- data/std/result.mt +89 -0
- data/std/rlgl.mt +268 -0
- data/std/rpng.mt +46 -0
- data/std/rres.mt +36 -0
- data/std/sdl3/runtime.mt +54 -0
- data/std/sdl3.mt +1731 -0
- data/std/serialize.mt +68 -0
- data/std/set.mt +124 -0
- data/std/spatial.mt +176 -0
- data/std/sqlite3.mt +151 -0
- data/std/stack.mt +55 -0
- data/std/stb_image.mt +47 -0
- data/std/stb_image_resize2.mt +41 -0
- data/std/stb_image_write.mt +17 -0
- data/std/stb_rect_pack.mt +15 -0
- data/std/stb_truetype.mt +77 -0
- data/std/stb_vorbis.mt +16 -0
- data/std/stdio.mt +88 -0
- data/std/steamworks.mt +1542 -0
- data/std/str.mt +293 -0
- data/std/string.mt +234 -0
- data/std/sync.mt +194 -0
- data/std/tar.mt +704 -0
- data/std/terminal.mt +1002 -0
- data/std/testing.mt +266 -0
- data/std/thread.mt +120 -0
- data/std/time.mt +105 -0
- data/std/tls.mt +616 -0
- data/std/toml.mt +1310 -0
- data/std/tracy.mt +42 -0
- data/std/uri.mt +118 -0
- data/std/url.mt +372 -0
- data/std/vec.mt +433 -0
- data/std/zstd.mt +94 -0
- metadata +187 -2
data/std/libuv.mt
ADDED
|
@@ -0,0 +1,554 @@
|
|
|
1
|
+
# generated by mtc imported-bindings from std.c.libuv using bindings/imported/libuv.binding.json
|
|
2
|
+
|
|
3
|
+
import std.c.libuv as c
|
|
4
|
+
|
|
5
|
+
public type uv_handle_s_u = c.uv_handle_s_u
|
|
6
|
+
public type uv_stream_s_u = c.uv_stream_s_u
|
|
7
|
+
public type uv_tcp_s_u = c.uv_tcp_s_u
|
|
8
|
+
public type uv_udp_s_u = c.uv_udp_s_u
|
|
9
|
+
public type uv_udp_send_s_u = c.uv_udp_send_s_u
|
|
10
|
+
public type uv_tty_s_u = c.uv_tty_s_u
|
|
11
|
+
public type uv_pipe_s_u = c.uv_pipe_s_u
|
|
12
|
+
public type uv_poll_s_u = c.uv_poll_s_u
|
|
13
|
+
public type uv_prepare_s_u = c.uv_prepare_s_u
|
|
14
|
+
public type uv_check_s_u = c.uv_check_s_u
|
|
15
|
+
public type uv_idle_s_u = c.uv_idle_s_u
|
|
16
|
+
public type uv_async_s_u = c.uv_async_s_u
|
|
17
|
+
public type uv_timer_s_u = c.uv_timer_s_u
|
|
18
|
+
public type uv_timer_s_node = c.uv_timer_s_node
|
|
19
|
+
public type uv_stdio_container_t_data = c.uv_stdio_container_t_data
|
|
20
|
+
public type uv_process_s_u = c.uv_process_s_u
|
|
21
|
+
public type uv_interface_address_s_address = c.uv_interface_address_s_address
|
|
22
|
+
public type uv_interface_address_s_netmask = c.uv_interface_address_s_netmask
|
|
23
|
+
public type uv_fs_event_s_u = c.uv_fs_event_s_u
|
|
24
|
+
public type uv_fs_poll_s_u = c.uv_fs_poll_s_u
|
|
25
|
+
public type uv_signal_s_u = c.uv_signal_s_u
|
|
26
|
+
public type uv_signal_s_tree_entry = c.uv_signal_s_tree_entry
|
|
27
|
+
public type uv_loop_s_active_reqs = c.uv_loop_s_active_reqs
|
|
28
|
+
public type uv_loop_s_timer_heap = c.uv_loop_s_timer_heap
|
|
29
|
+
public type sockaddr = c.sockaddr
|
|
30
|
+
public type addrinfo = c.addrinfo
|
|
31
|
+
public type sockaddr_storage = c.sockaddr_storage
|
|
32
|
+
public type pthread_mutex_t = c.pthread_mutex_t
|
|
33
|
+
public type pthread_rwlock_t = c.pthread_rwlock_t
|
|
34
|
+
public type sockaddr_in = c.sockaddr_in
|
|
35
|
+
public type sockaddr_in6 = c.sockaddr_in6
|
|
36
|
+
public type sem_t = c.sem_t
|
|
37
|
+
public type pthread_cond_t = c.pthread_cond_t
|
|
38
|
+
public type pthread_barrier_t = c.pthread_barrier_t
|
|
39
|
+
public type uv__queue = c.uv__queue
|
|
40
|
+
public type uv__work = c.uv__work
|
|
41
|
+
public type uv__io_t = c.uv__io_t
|
|
42
|
+
public type uv_loop_t = c.uv_loop_t
|
|
43
|
+
public type uv__io_s = c.uv__io_s
|
|
44
|
+
public type uv_buf_t = c.uv_buf_t
|
|
45
|
+
public type uv_file = c.uv_file
|
|
46
|
+
public type uv_os_sock_t = c.uv_os_sock_t
|
|
47
|
+
public type uv_os_fd_t = c.uv_os_fd_t
|
|
48
|
+
public type uv_pid_t = c.uv_pid_t
|
|
49
|
+
public type uv_once_t = c.uv_once_t
|
|
50
|
+
public type uv_thread_t = c.uv_thread_t
|
|
51
|
+
public type uv_mutex_t = c.uv_mutex_t
|
|
52
|
+
public type uv_rwlock_t = c.uv_rwlock_t
|
|
53
|
+
public type uv_sem_t = c.uv_sem_t
|
|
54
|
+
public type uv_cond_t = c.uv_cond_t
|
|
55
|
+
public type uv_key_t = c.uv_key_t
|
|
56
|
+
public type uv_barrier_t = c.uv_barrier_t
|
|
57
|
+
public type uv_gid_t = c.uv_gid_t
|
|
58
|
+
public type uv_uid_t = c.uv_uid_t
|
|
59
|
+
public type uv__dirent_t = c.uv__dirent_t
|
|
60
|
+
public type uv_lib_t = c.uv_lib_t
|
|
61
|
+
public type uv_errno_t = c.uv_errno_t
|
|
62
|
+
public type uv_handle_type = c.uv_handle_type
|
|
63
|
+
public type uv_req_type = c.uv_req_type
|
|
64
|
+
public type uv_handle_t = c.uv_handle_t
|
|
65
|
+
public type uv_dir_t = c.uv_dir_t
|
|
66
|
+
public type uv_stream_t = c.uv_stream_t
|
|
67
|
+
public type uv_tcp_t = c.uv_tcp_t
|
|
68
|
+
public type uv_udp_t = c.uv_udp_t
|
|
69
|
+
public type uv_pipe_t = c.uv_pipe_t
|
|
70
|
+
public type uv_tty_t = c.uv_tty_t
|
|
71
|
+
public type uv_poll_t = c.uv_poll_t
|
|
72
|
+
public type uv_timer_t = c.uv_timer_t
|
|
73
|
+
public type uv_prepare_t = c.uv_prepare_t
|
|
74
|
+
public type uv_check_t = c.uv_check_t
|
|
75
|
+
public type uv_idle_t = c.uv_idle_t
|
|
76
|
+
public type uv_async_t = c.uv_async_t
|
|
77
|
+
public type uv_process_t = c.uv_process_t
|
|
78
|
+
public type uv_fs_event_t = c.uv_fs_event_t
|
|
79
|
+
public type uv_fs_poll_t = c.uv_fs_poll_t
|
|
80
|
+
public type uv_signal_t = c.uv_signal_t
|
|
81
|
+
public type uv_req_t = c.uv_req_t
|
|
82
|
+
public type uv_getaddrinfo_t = c.uv_getaddrinfo_t
|
|
83
|
+
public type uv_getnameinfo_t = c.uv_getnameinfo_t
|
|
84
|
+
public type uv_shutdown_t = c.uv_shutdown_t
|
|
85
|
+
public type uv_write_t = c.uv_write_t
|
|
86
|
+
public type uv_connect_t = c.uv_connect_t
|
|
87
|
+
public type uv_udp_send_t = c.uv_udp_send_t
|
|
88
|
+
public type uv_fs_t = c.uv_fs_t
|
|
89
|
+
public type uv_work_t = c.uv_work_t
|
|
90
|
+
public type uv_random_t = c.uv_random_t
|
|
91
|
+
public type uv_env_item_t = c.uv_env_item_t
|
|
92
|
+
public type uv_cpu_info_t = c.uv_cpu_info_t
|
|
93
|
+
public type uv_interface_address_t = c.uv_interface_address_t
|
|
94
|
+
public type uv_dirent_t = c.uv_dirent_t
|
|
95
|
+
public type uv_passwd_t = c.uv_passwd_t
|
|
96
|
+
public type uv_group_t = c.uv_group_t
|
|
97
|
+
public type uv_utsname_t = c.uv_utsname_t
|
|
98
|
+
public type uv_statfs_t = c.uv_statfs_t
|
|
99
|
+
public type uv_metrics_t = c.uv_metrics_t
|
|
100
|
+
public type uv_loop_option = c.uv_loop_option
|
|
101
|
+
public type uv_run_mode = c.uv_run_mode
|
|
102
|
+
public type uv_malloc_func = c.uv_malloc_func
|
|
103
|
+
public type uv_realloc_func = c.uv_realloc_func
|
|
104
|
+
public type uv_calloc_func = c.uv_calloc_func
|
|
105
|
+
public type uv_free_func = c.uv_free_func
|
|
106
|
+
public type uv_alloc_cb = c.uv_alloc_cb
|
|
107
|
+
public type uv_read_cb = c.uv_read_cb
|
|
108
|
+
public type uv_write_cb = c.uv_write_cb
|
|
109
|
+
public type uv_connect_cb = c.uv_connect_cb
|
|
110
|
+
public type uv_shutdown_cb = c.uv_shutdown_cb
|
|
111
|
+
public type uv_connection_cb = c.uv_connection_cb
|
|
112
|
+
public type uv_close_cb = c.uv_close_cb
|
|
113
|
+
public type uv_poll_cb = c.uv_poll_cb
|
|
114
|
+
public type uv_timer_cb = c.uv_timer_cb
|
|
115
|
+
public type uv_async_cb = c.uv_async_cb
|
|
116
|
+
public type uv_prepare_cb = c.uv_prepare_cb
|
|
117
|
+
public type uv_check_cb = c.uv_check_cb
|
|
118
|
+
public type uv_idle_cb = c.uv_idle_cb
|
|
119
|
+
public type uv_exit_cb = c.uv_exit_cb
|
|
120
|
+
public type uv_walk_cb = c.uv_walk_cb
|
|
121
|
+
public type uv_fs_cb = c.uv_fs_cb
|
|
122
|
+
public type uv_work_cb = c.uv_work_cb
|
|
123
|
+
public type uv_after_work_cb = c.uv_after_work_cb
|
|
124
|
+
public type uv_getaddrinfo_cb = c.uv_getaddrinfo_cb
|
|
125
|
+
public type uv_getnameinfo_cb = c.uv_getnameinfo_cb
|
|
126
|
+
public type uv_random_cb = c.uv_random_cb
|
|
127
|
+
public type uv_clock_id = c.uv_clock_id
|
|
128
|
+
public type uv_timespec_t = c.uv_timespec_t
|
|
129
|
+
public type uv_timespec64_t = c.uv_timespec64_t
|
|
130
|
+
public type uv_timeval_t = c.uv_timeval_t
|
|
131
|
+
public type uv_timeval64_t = c.uv_timeval64_t
|
|
132
|
+
public type uv_stat_t = c.uv_stat_t
|
|
133
|
+
public type uv_fs_event_cb = c.uv_fs_event_cb
|
|
134
|
+
public type uv_fs_poll_cb = c.uv_fs_poll_cb
|
|
135
|
+
public type uv_signal_cb = c.uv_signal_cb
|
|
136
|
+
public type uv_membership = c.uv_membership
|
|
137
|
+
public type uv_req_s = c.uv_req_s
|
|
138
|
+
public type uv_shutdown_s = c.uv_shutdown_s
|
|
139
|
+
public type uv_handle_s = c.uv_handle_s
|
|
140
|
+
public type uv_stream_s = c.uv_stream_s
|
|
141
|
+
public type uv_write_s = c.uv_write_s
|
|
142
|
+
public type uv_tcp_s = c.uv_tcp_s
|
|
143
|
+
public type uv_tcp_flags = c.uv_tcp_flags
|
|
144
|
+
public type uv_connect_s = c.uv_connect_s
|
|
145
|
+
public type uv_udp_flags = c.uv_udp_flags
|
|
146
|
+
public type uv_udp_send_cb = c.uv_udp_send_cb
|
|
147
|
+
public type uv_udp_recv_cb = c.uv_udp_recv_cb
|
|
148
|
+
public type uv_udp_s = c.uv_udp_s
|
|
149
|
+
public type uv_udp_send_s = c.uv_udp_send_s
|
|
150
|
+
public type uv_tty_s = c.uv_tty_s
|
|
151
|
+
public type uv_tty_mode_t = c.uv_tty_mode_t
|
|
152
|
+
public type uv_tty_vtermstate_t = c.uv_tty_vtermstate_t
|
|
153
|
+
public type uv_pipe_s = c.uv_pipe_s
|
|
154
|
+
public type uv_poll_s = c.uv_poll_s
|
|
155
|
+
public type uv_poll_event = c.uv_poll_event
|
|
156
|
+
public type uv_prepare_s = c.uv_prepare_s
|
|
157
|
+
public type uv_check_s = c.uv_check_s
|
|
158
|
+
public type uv_idle_s = c.uv_idle_s
|
|
159
|
+
public type uv_async_s = c.uv_async_s
|
|
160
|
+
public type uv_timer_s = c.uv_timer_s
|
|
161
|
+
public type uv_getaddrinfo_s = c.uv_getaddrinfo_s
|
|
162
|
+
public type uv_getnameinfo_s = c.uv_getnameinfo_s
|
|
163
|
+
public type uv_stdio_flags = c.uv_stdio_flags
|
|
164
|
+
public type uv_stdio_container_t = c.uv_stdio_container_t
|
|
165
|
+
public type uv_process_options_t = c.uv_process_options_t
|
|
166
|
+
public type uv_process_flags = c.uv_process_flags
|
|
167
|
+
public type uv_process_s = c.uv_process_s
|
|
168
|
+
public type uv_work_s = c.uv_work_s
|
|
169
|
+
public type uv_cpu_times_s = c.uv_cpu_times_s
|
|
170
|
+
public type uv_cpu_info_s = c.uv_cpu_info_s
|
|
171
|
+
public type uv_interface_address_s = c.uv_interface_address_s
|
|
172
|
+
public type uv_passwd_s = c.uv_passwd_s
|
|
173
|
+
public type uv_group_s = c.uv_group_s
|
|
174
|
+
public type uv_utsname_s = c.uv_utsname_s
|
|
175
|
+
public type uv_statfs_s = c.uv_statfs_s
|
|
176
|
+
public type uv_dirent_type_t = c.uv_dirent_type_t
|
|
177
|
+
public type uv_dirent_s = c.uv_dirent_s
|
|
178
|
+
public type uv_rusage_t = c.uv_rusage_t
|
|
179
|
+
public type uv_env_item_s = c.uv_env_item_s
|
|
180
|
+
public type uv_metrics_s = c.uv_metrics_s
|
|
181
|
+
public type uv_fs_type = c.uv_fs_type
|
|
182
|
+
public type uv_dir_s = c.uv_dir_s
|
|
183
|
+
public type uv_fs_s = c.uv_fs_s
|
|
184
|
+
public type uv_fs_event = c.uv_fs_event
|
|
185
|
+
public type uv_fs_event_s = c.uv_fs_event_s
|
|
186
|
+
public type uv_fs_poll_s = c.uv_fs_poll_s
|
|
187
|
+
public type uv_signal_s = c.uv_signal_s
|
|
188
|
+
public type uv_fs_event_flags = c.uv_fs_event_flags
|
|
189
|
+
public type uv_random_s = c.uv_random_s
|
|
190
|
+
public type uv_thread_cb = c.uv_thread_cb
|
|
191
|
+
public type uv_thread_create_flags = c.uv_thread_create_flags
|
|
192
|
+
public type uv_thread_options_t = c.uv_thread_options_t
|
|
193
|
+
public type uv_any_handle = c.uv_any_handle
|
|
194
|
+
public type uv_any_req = c.uv_any_req
|
|
195
|
+
public type uv_loop_s = c.uv_loop_s
|
|
196
|
+
|
|
197
|
+
public const _EOF: int = c.UV__EOF
|
|
198
|
+
public const _UNKNOWN: int = c.UV__UNKNOWN
|
|
199
|
+
public const _EAI_ADDRFAMILY: int = c.UV__EAI_ADDRFAMILY
|
|
200
|
+
public const _EAI_AGAIN: int = c.UV__EAI_AGAIN
|
|
201
|
+
public const _EAI_BADFLAGS: int = c.UV__EAI_BADFLAGS
|
|
202
|
+
public const _EAI_CANCELED: int = c.UV__EAI_CANCELED
|
|
203
|
+
public const _EAI_FAIL: int = c.UV__EAI_FAIL
|
|
204
|
+
public const _EAI_FAMILY: int = c.UV__EAI_FAMILY
|
|
205
|
+
public const _EAI_MEMORY: int = c.UV__EAI_MEMORY
|
|
206
|
+
public const _EAI_NODATA: int = c.UV__EAI_NODATA
|
|
207
|
+
public const _EAI_NONAME: int = c.UV__EAI_NONAME
|
|
208
|
+
public const _EAI_OVERFLOW: int = c.UV__EAI_OVERFLOW
|
|
209
|
+
public const _EAI_SERVICE: int = c.UV__EAI_SERVICE
|
|
210
|
+
public const _EAI_SOCKTYPE: int = c.UV__EAI_SOCKTYPE
|
|
211
|
+
public const _EAI_BADHINTS: int = c.UV__EAI_BADHINTS
|
|
212
|
+
public const _EAI_PROTOCOL: int = c.UV__EAI_PROTOCOL
|
|
213
|
+
public const _ECHARSET: int = c.UV__ECHARSET
|
|
214
|
+
public const _EFTYPE: int = c.UV__EFTYPE
|
|
215
|
+
public const VERSION_MAJOR: int = c.UV_VERSION_MAJOR
|
|
216
|
+
public const VERSION_MINOR: int = c.UV_VERSION_MINOR
|
|
217
|
+
public const VERSION_PATCH: int = c.UV_VERSION_PATCH
|
|
218
|
+
public const VERSION_IS_RELEASE: int = c.UV_VERSION_IS_RELEASE
|
|
219
|
+
public const FS_O_DIRECT: int = c.UV_FS_O_DIRECT
|
|
220
|
+
public const FS_O_EXLOCK: int = c.UV_FS_O_EXLOCK
|
|
221
|
+
public const FS_O_NOATIME: int = c.UV_FS_O_NOATIME
|
|
222
|
+
public const FS_O_SYMLINK: int = c.UV_FS_O_SYMLINK
|
|
223
|
+
public const FS_O_FILEMAP: int = c.UV_FS_O_FILEMAP
|
|
224
|
+
public const FS_O_RANDOM: int = c.UV_FS_O_RANDOM
|
|
225
|
+
public const FS_O_SHORT_LIVED: int = c.UV_FS_O_SHORT_LIVED
|
|
226
|
+
public const FS_O_SEQUENTIAL: int = c.UV_FS_O_SEQUENTIAL
|
|
227
|
+
public const FS_O_TEMPORARY: int = c.UV_FS_O_TEMPORARY
|
|
228
|
+
public const PRIORITY_LOW: int = c.UV_PRIORITY_LOW
|
|
229
|
+
public const PRIORITY_BELOW_NORMAL: int = c.UV_PRIORITY_BELOW_NORMAL
|
|
230
|
+
public const PRIORITY_NORMAL: int = c.UV_PRIORITY_NORMAL
|
|
231
|
+
public const PRIORITY_ABOVE_NORMAL: int = c.UV_PRIORITY_ABOVE_NORMAL
|
|
232
|
+
public const PRIORITY_HIGH: int = c.UV_PRIORITY_HIGH
|
|
233
|
+
public const PRIORITY_HIGHEST: int = c.UV_PRIORITY_HIGHEST
|
|
234
|
+
public const FS_COPYFILE_EXCL: int = c.UV_FS_COPYFILE_EXCL
|
|
235
|
+
public const FS_COPYFILE_FICLONE: int = c.UV_FS_COPYFILE_FICLONE
|
|
236
|
+
public const FS_COPYFILE_FICLONE_FORCE: int = c.UV_FS_COPYFILE_FICLONE_FORCE
|
|
237
|
+
public const FS_SYMLINK_DIR: int = c.UV_FS_SYMLINK_DIR
|
|
238
|
+
public const FS_SYMLINK_JUNCTION: int = c.UV_FS_SYMLINK_JUNCTION
|
|
239
|
+
|
|
240
|
+
public foreign function version() -> uint = c.uv_version
|
|
241
|
+
public foreign function version_string() -> cstr = c.uv_version_string
|
|
242
|
+
public foreign function library_shutdown() -> void = c.uv_library_shutdown
|
|
243
|
+
public foreign function replace_allocator(malloc_func: fn(arg0: ptr_uint) -> ptr[void], realloc_func: fn(arg0: ptr[void], arg1: ptr_uint) -> ptr[void], calloc_func: fn(arg0: ptr_uint, arg1: ptr_uint) -> ptr[void], free_func: fn(arg0: ptr[void]) -> void) -> int = c.uv_replace_allocator
|
|
244
|
+
public foreign function default_loop() -> ptr[uv_loop_t]? = c.uv_default_loop
|
|
245
|
+
public foreign function loop_init(loop: ptr[uv_loop_t]) -> int = c.uv_loop_init
|
|
246
|
+
public foreign function loop_close(loop: ptr[uv_loop_t]) -> int = c.uv_loop_close
|
|
247
|
+
public foreign function loop_new() -> ptr[uv_loop_t]? = c.uv_loop_new
|
|
248
|
+
public foreign function loop_delete(arg0: ptr[uv_loop_t]) -> void = c.uv_loop_delete
|
|
249
|
+
public foreign function loop_size() -> ptr_uint = c.uv_loop_size
|
|
250
|
+
public foreign function loop_alive(loop: const_ptr[uv_loop_t]) -> int = c.uv_loop_alive
|
|
251
|
+
public foreign function loop_fork(loop: ptr[uv_loop_t]) -> int = c.uv_loop_fork
|
|
252
|
+
public foreign function run(arg0: ptr[uv_loop_t], mode: uv_run_mode) -> int = c.uv_run
|
|
253
|
+
public foreign function stop(arg0: ptr[uv_loop_t]) -> void = c.uv_stop
|
|
254
|
+
public foreign function ref(arg0: ptr[uv_handle_t]) -> void = c.uv_ref
|
|
255
|
+
public foreign function unref(arg0: ptr[uv_handle_t]) -> void = c.uv_unref
|
|
256
|
+
public foreign function has_ref(arg0: const_ptr[uv_handle_t]) -> int = c.uv_has_ref
|
|
257
|
+
public foreign function update_time(arg0: ptr[uv_loop_t]) -> void = c.uv_update_time
|
|
258
|
+
public foreign function now(arg0: const_ptr[uv_loop_t]) -> ulong = c.uv_now
|
|
259
|
+
public foreign function backend_fd(arg0: const_ptr[uv_loop_t]) -> int = c.uv_backend_fd
|
|
260
|
+
public foreign function backend_timeout(arg0: const_ptr[uv_loop_t]) -> int = c.uv_backend_timeout
|
|
261
|
+
public foreign function translate_sys_error(sys_errno: int) -> int = c.uv_translate_sys_error
|
|
262
|
+
public foreign function strerror(err: int) -> cstr = c.uv_strerror
|
|
263
|
+
public foreign function strerror_r(err: int, buf: ptr[char], buflen: ptr_uint) -> ptr[char] = c.uv_strerror_r
|
|
264
|
+
public foreign function err_name(err: int) -> cstr = c.uv_err_name
|
|
265
|
+
public foreign function err_name_r(err: int, buf: ptr[char], buflen: ptr_uint) -> ptr[char] = c.uv_err_name_r
|
|
266
|
+
public foreign function shutdown(req: ptr[uv_shutdown_t], handle: ptr[uv_stream_t], cb: fn(arg0: ptr[uv_shutdown_t], arg1: int) -> void) -> int = c.uv_shutdown
|
|
267
|
+
public foreign function handle_size(type_: uv_handle_type) -> ptr_uint = c.uv_handle_size
|
|
268
|
+
public foreign function handle_get_type(handle: const_ptr[uv_handle_t]) -> uv_handle_type = c.uv_handle_get_type
|
|
269
|
+
public foreign function handle_type_name(type_: uv_handle_type) -> cstr = c.uv_handle_type_name
|
|
270
|
+
public foreign function handle_get_data(handle: const_ptr[uv_handle_t]) -> ptr[void]? = c.uv_handle_get_data
|
|
271
|
+
public foreign function handle_get_loop(handle: const_ptr[uv_handle_t]) -> ptr[uv_loop_t] = c.uv_handle_get_loop
|
|
272
|
+
public foreign function handle_set_data(handle: ptr[uv_handle_t], data: ptr[void]) -> void = c.uv_handle_set_data
|
|
273
|
+
public foreign function req_size(type_: uv_req_type) -> ptr_uint = c.uv_req_size
|
|
274
|
+
public foreign function req_get_data(req: const_ptr[uv_req_t]) -> ptr[void]? = c.uv_req_get_data
|
|
275
|
+
public foreign function req_set_data(req: ptr[uv_req_t], data: ptr[void]) -> void = c.uv_req_set_data
|
|
276
|
+
public foreign function req_get_type(req: const_ptr[uv_req_t]) -> uv_req_type = c.uv_req_get_type
|
|
277
|
+
public foreign function req_type_name(type_: uv_req_type) -> cstr = c.uv_req_type_name
|
|
278
|
+
public foreign function is_active(handle: const_ptr[uv_handle_t]) -> int = c.uv_is_active
|
|
279
|
+
public foreign function walk(loop: ptr[uv_loop_t], walk_cb: fn(arg0: ptr[uv_handle_t], arg1: ptr[void]) -> void, arg: ptr[void]) -> void = c.uv_walk
|
|
280
|
+
public foreign function close(handle: ptr[uv_handle_t], close_cb: fn(arg0: ptr[uv_handle_t]) -> void) -> void = c.uv_close
|
|
281
|
+
public foreign function send_buffer_size(handle: ptr[uv_handle_t], inout value: int) -> int = c.uv_send_buffer_size
|
|
282
|
+
public foreign function recv_buffer_size(handle: ptr[uv_handle_t], inout value: int) -> int = c.uv_recv_buffer_size
|
|
283
|
+
public foreign function fileno(handle: const_ptr[uv_handle_t], out fd: uv_os_fd_t) -> int = c.uv_fileno
|
|
284
|
+
public foreign function buf_init(base: ptr[char], len: uint) -> uv_buf_t = c.uv_buf_init
|
|
285
|
+
public foreign function pipe(fds: ptr[uv_file], read_flags: int, write_flags: int) -> int = c.uv_pipe
|
|
286
|
+
public foreign function socketpair(type_: int, protocol: int, socket_vector: ptr[uv_os_sock_t], flags0: int, flags1: int) -> int = c.uv_socketpair
|
|
287
|
+
public foreign function stream_get_write_queue_size(stream: const_ptr[uv_stream_t]) -> ptr_uint = c.uv_stream_get_write_queue_size
|
|
288
|
+
public foreign function listen(stream: ptr[uv_stream_t], backlog: int, cb: fn(arg0: ptr[uv_stream_t], arg1: int) -> void) -> int = c.uv_listen
|
|
289
|
+
public foreign function accept(server: ptr[uv_stream_t], client: ptr[uv_stream_t]) -> int = c.uv_accept
|
|
290
|
+
public foreign function read_start(arg0: ptr[uv_stream_t], alloc_cb: fn(arg0: ptr[uv_handle_t], arg1: ptr_uint, arg2: ptr[uv_buf_t]) -> void, read_cb: fn(arg0: ptr[uv_stream_t], arg1: ptr_int, arg2: const_ptr[uv_buf_t]) -> void) -> int = c.uv_read_start
|
|
291
|
+
public foreign function read_stop(arg0: ptr[uv_stream_t]) -> int = c.uv_read_stop
|
|
292
|
+
public foreign function write(req: ptr[uv_write_t], handle: ptr[uv_stream_t], bufs: const_ptr[uv_buf_t], nbufs: uint, cb: fn(arg0: ptr[uv_write_t], arg1: int) -> void) -> int = c.uv_write
|
|
293
|
+
public foreign function write2(req: ptr[uv_write_t], handle: ptr[uv_stream_t], bufs: const_ptr[uv_buf_t], nbufs: uint, send_handle: ptr[uv_stream_t], cb: fn(arg0: ptr[uv_write_t], arg1: int) -> void) -> int = c.uv_write2
|
|
294
|
+
public foreign function try_write(handle: ptr[uv_stream_t], bufs: const_ptr[uv_buf_t], nbufs: uint) -> int = c.uv_try_write
|
|
295
|
+
public foreign function try_write2(handle: ptr[uv_stream_t], bufs: const_ptr[uv_buf_t], nbufs: uint, send_handle: ptr[uv_stream_t]) -> int = c.uv_try_write2
|
|
296
|
+
public foreign function is_readable(handle: const_ptr[uv_stream_t]) -> int = c.uv_is_readable
|
|
297
|
+
public foreign function is_writable(handle: const_ptr[uv_stream_t]) -> int = c.uv_is_writable
|
|
298
|
+
public foreign function stream_set_blocking(handle: ptr[uv_stream_t], blocking: int) -> int = c.uv_stream_set_blocking
|
|
299
|
+
public foreign function is_closing(handle: const_ptr[uv_handle_t]) -> int = c.uv_is_closing
|
|
300
|
+
public foreign function tcp_init(arg0: ptr[uv_loop_t], handle: ptr[uv_tcp_t]) -> int = c.uv_tcp_init
|
|
301
|
+
public foreign function tcp_init_ex(arg0: ptr[uv_loop_t], handle: ptr[uv_tcp_t], flags_: uint) -> int = c.uv_tcp_init_ex
|
|
302
|
+
public foreign function tcp_open(handle: ptr[uv_tcp_t], sock: int) -> int = c.uv_tcp_open
|
|
303
|
+
public foreign function tcp_nodelay(handle: ptr[uv_tcp_t], enable: int) -> int = c.uv_tcp_nodelay
|
|
304
|
+
public foreign function tcp_keepalive(handle: ptr[uv_tcp_t], enable: int, delay: uint) -> int = c.uv_tcp_keepalive
|
|
305
|
+
public foreign function tcp_keepalive_ex(handle: ptr[uv_tcp_t], on: int, idle: uint, intvl: uint, cnt: uint) -> int = c.uv_tcp_keepalive_ex
|
|
306
|
+
public foreign function tcp_simultaneous_accepts(handle: ptr[uv_tcp_t], enable: int) -> int = c.uv_tcp_simultaneous_accepts
|
|
307
|
+
public foreign function tcp_bind(handle: ptr[uv_tcp_t], addr: const_ptr[sockaddr], flags_: uint) -> int = c.uv_tcp_bind
|
|
308
|
+
public foreign function tcp_getsockname(handle: const_ptr[uv_tcp_t], out name: sockaddr, inout namelen: int) -> int = c.uv_tcp_getsockname
|
|
309
|
+
public foreign function tcp_getpeername(handle: const_ptr[uv_tcp_t], out name: sockaddr, inout namelen: int) -> int = c.uv_tcp_getpeername
|
|
310
|
+
public foreign function tcp_close_reset(handle: ptr[uv_tcp_t], close_cb: fn(arg0: ptr[uv_handle_t]) -> void) -> int = c.uv_tcp_close_reset
|
|
311
|
+
public foreign function tcp_connect(req: ptr[uv_connect_t], handle: ptr[uv_tcp_t], addr: const_ptr[sockaddr], cb: fn(arg0: ptr[uv_connect_t], arg1: int) -> void) -> int = c.uv_tcp_connect
|
|
312
|
+
public foreign function udp_init(arg0: ptr[uv_loop_t], handle: ptr[uv_udp_t]) -> int = c.uv_udp_init
|
|
313
|
+
public foreign function udp_init_ex(arg0: ptr[uv_loop_t], handle: ptr[uv_udp_t], flags_: uint) -> int = c.uv_udp_init_ex
|
|
314
|
+
public foreign function udp_open(handle: ptr[uv_udp_t], sock: int) -> int = c.uv_udp_open
|
|
315
|
+
public foreign function udp_open_ex(handle: ptr[uv_udp_t], sock: int, flags_: uint) -> int = c.uv_udp_open_ex
|
|
316
|
+
public foreign function udp_bind(handle: ptr[uv_udp_t], addr: const_ptr[sockaddr], flags_: uint) -> int = c.uv_udp_bind
|
|
317
|
+
public foreign function udp_connect(handle: ptr[uv_udp_t], addr: const_ptr[sockaddr]) -> int = c.uv_udp_connect
|
|
318
|
+
public foreign function udp_getpeername(handle: const_ptr[uv_udp_t], out name: sockaddr, inout namelen: int) -> int = c.uv_udp_getpeername
|
|
319
|
+
public foreign function udp_getsockname(handle: const_ptr[uv_udp_t], out name: sockaddr, inout namelen: int) -> int = c.uv_udp_getsockname
|
|
320
|
+
public foreign function udp_set_membership(handle: ptr[uv_udp_t], multicast_addr: str as cstr, interface_addr: str as cstr, membership: uv_membership) -> int = c.uv_udp_set_membership
|
|
321
|
+
public foreign function udp_set_source_membership(handle: ptr[uv_udp_t], multicast_addr: str as cstr, interface_addr: str as cstr, source_addr: str as cstr, membership: uv_membership) -> int = c.uv_udp_set_source_membership
|
|
322
|
+
public foreign function udp_set_multicast_loop(handle: ptr[uv_udp_t], on: int) -> int = c.uv_udp_set_multicast_loop
|
|
323
|
+
public foreign function udp_set_multicast_ttl(handle: ptr[uv_udp_t], ttl: int) -> int = c.uv_udp_set_multicast_ttl
|
|
324
|
+
public foreign function udp_set_multicast_interface(handle: ptr[uv_udp_t], interface_addr: str as cstr) -> int = c.uv_udp_set_multicast_interface
|
|
325
|
+
public foreign function udp_set_broadcast(handle: ptr[uv_udp_t], on: int) -> int = c.uv_udp_set_broadcast
|
|
326
|
+
public foreign function udp_set_ttl(handle: ptr[uv_udp_t], ttl: int) -> int = c.uv_udp_set_ttl
|
|
327
|
+
public foreign function udp_send(req: ptr[uv_udp_send_t], handle: ptr[uv_udp_t], bufs: const_ptr[uv_buf_t], nbufs: uint, addr: const_ptr[sockaddr]?, send_cb: fn(arg0: ptr[uv_udp_send_t], arg1: int) -> void) -> int = c.uv_udp_send
|
|
328
|
+
public foreign function udp_try_send(handle: ptr[uv_udp_t], bufs: const_ptr[uv_buf_t], nbufs: uint, addr: const_ptr[sockaddr]?) -> int = c.uv_udp_try_send
|
|
329
|
+
public foreign function udp_try_send2(handle: ptr[uv_udp_t], count: uint, bufs: ptr[ptr[uv_buf_t]], nbufs: ptr[uint], addrs: ptr[ptr[sockaddr]], flags_: uint) -> int = c.uv_udp_try_send2
|
|
330
|
+
public foreign function udp_recv_start(handle: ptr[uv_udp_t], alloc_cb: fn(arg0: ptr[uv_handle_t], arg1: ptr_uint, arg2: ptr[uv_buf_t]) -> void, recv_cb: fn(arg0: ptr[uv_udp_t], arg1: ptr_int, arg2: const_ptr[uv_buf_t], arg3: const_ptr[sockaddr], arg4: uint) -> void) -> int = c.uv_udp_recv_start
|
|
331
|
+
public foreign function udp_using_recvmmsg(handle: const_ptr[uv_udp_t]) -> int = c.uv_udp_using_recvmmsg
|
|
332
|
+
public foreign function udp_recv_stop(handle: ptr[uv_udp_t]) -> int = c.uv_udp_recv_stop
|
|
333
|
+
public foreign function udp_get_send_queue_size(handle: const_ptr[uv_udp_t]) -> ptr_uint = c.uv_udp_get_send_queue_size
|
|
334
|
+
public foreign function udp_get_send_queue_count(handle: const_ptr[uv_udp_t]) -> ptr_uint = c.uv_udp_get_send_queue_count
|
|
335
|
+
public foreign function tty_init(arg0: ptr[uv_loop_t], arg1: ptr[uv_tty_t], fd: int, readable: int) -> int = c.uv_tty_init
|
|
336
|
+
public foreign function tty_set_mode(arg0: ptr[uv_tty_t], mode: uv_tty_mode_t) -> int = c.uv_tty_set_mode
|
|
337
|
+
public foreign function tty_reset_mode() -> int = c.uv_tty_reset_mode
|
|
338
|
+
public foreign function tty_get_winsize(arg_0: ptr[uv_tty_t], out width: int, out height: int) -> int = c.uv_tty_get_winsize
|
|
339
|
+
public foreign function tty_set_vterm_state(state: uv_tty_vtermstate_t) -> void = c.uv_tty_set_vterm_state
|
|
340
|
+
public foreign function tty_get_vterm_state(state: ptr[uv_tty_vtermstate_t]) -> int = c.uv_tty_get_vterm_state
|
|
341
|
+
public foreign function guess_handle(file: int) -> uv_handle_type = c.uv_guess_handle
|
|
342
|
+
public foreign function pipe_init(arg0: ptr[uv_loop_t], handle: ptr[uv_pipe_t], ipc: int) -> int = c.uv_pipe_init
|
|
343
|
+
public foreign function pipe_open(arg0: ptr[uv_pipe_t], file: int) -> int = c.uv_pipe_open
|
|
344
|
+
public foreign function pipe_bind(handle: ptr[uv_pipe_t], name: str as cstr) -> int = c.uv_pipe_bind
|
|
345
|
+
public foreign function pipe_bind2(handle: ptr[uv_pipe_t], name: str as cstr, namelen: ptr_uint, flags_: uint) -> int = c.uv_pipe_bind2
|
|
346
|
+
public foreign function pipe_connect(req: ptr[uv_connect_t], handle: ptr[uv_pipe_t], name: str as cstr, cb: fn(arg0: ptr[uv_connect_t], arg1: int) -> void) -> void = c.uv_pipe_connect
|
|
347
|
+
public foreign function pipe_connect2(req: ptr[uv_connect_t], handle: ptr[uv_pipe_t], name: str as cstr, namelen: ptr_uint, flags_: uint, cb: fn(arg0: ptr[uv_connect_t], arg1: int) -> void) -> int = c.uv_pipe_connect2
|
|
348
|
+
public foreign function pipe_getsockname(handle: const_ptr[uv_pipe_t], buffer: ptr[char], inout size: ptr_uint) -> int = c.uv_pipe_getsockname
|
|
349
|
+
public foreign function pipe_getpeername(handle: const_ptr[uv_pipe_t], buffer: ptr[char], inout size: ptr_uint) -> int = c.uv_pipe_getpeername
|
|
350
|
+
public foreign function pipe_pending_instances(handle: ptr[uv_pipe_t], count: int) -> void = c.uv_pipe_pending_instances
|
|
351
|
+
public foreign function pipe_pending_count(handle: ptr[uv_pipe_t]) -> int = c.uv_pipe_pending_count
|
|
352
|
+
public foreign function pipe_pending_type(handle: ptr[uv_pipe_t]) -> uv_handle_type = c.uv_pipe_pending_type
|
|
353
|
+
public foreign function pipe_chmod(handle: ptr[uv_pipe_t], flags_: int) -> int = c.uv_pipe_chmod
|
|
354
|
+
public foreign function poll_init(loop: ptr[uv_loop_t], handle: ptr[uv_poll_t], fd: int) -> int = c.uv_poll_init
|
|
355
|
+
public foreign function poll_init_socket(loop: ptr[uv_loop_t], handle: ptr[uv_poll_t], socket: int) -> int = c.uv_poll_init_socket
|
|
356
|
+
public foreign function poll_start(handle: ptr[uv_poll_t], events: int, cb: fn(arg0: ptr[uv_poll_t], arg1: int, arg2: int) -> void) -> int = c.uv_poll_start
|
|
357
|
+
public foreign function poll_stop(handle: ptr[uv_poll_t]) -> int = c.uv_poll_stop
|
|
358
|
+
public foreign function prepare_init(arg0: ptr[uv_loop_t], prepare: ptr[uv_prepare_t]) -> int = c.uv_prepare_init
|
|
359
|
+
public foreign function prepare_start(prepare: ptr[uv_prepare_t], cb: fn(arg0: ptr[uv_prepare_t]) -> void) -> int = c.uv_prepare_start
|
|
360
|
+
public foreign function prepare_stop(prepare: ptr[uv_prepare_t]) -> int = c.uv_prepare_stop
|
|
361
|
+
public foreign function check_init(arg0: ptr[uv_loop_t], check: ptr[uv_check_t]) -> int = c.uv_check_init
|
|
362
|
+
public foreign function check_start(check: ptr[uv_check_t], cb: fn(arg0: ptr[uv_check_t]) -> void) -> int = c.uv_check_start
|
|
363
|
+
public foreign function check_stop(check: ptr[uv_check_t]) -> int = c.uv_check_stop
|
|
364
|
+
public foreign function idle_init(arg0: ptr[uv_loop_t], idle: ptr[uv_idle_t]) -> int = c.uv_idle_init
|
|
365
|
+
public foreign function idle_start(idle: ptr[uv_idle_t], cb: fn(arg0: ptr[uv_idle_t]) -> void) -> int = c.uv_idle_start
|
|
366
|
+
public foreign function idle_stop(idle: ptr[uv_idle_t]) -> int = c.uv_idle_stop
|
|
367
|
+
public foreign function async_init(arg0: ptr[uv_loop_t], async_: ptr[uv_async_t], async_cb: fn(arg0: ptr[uv_async_t]) -> void) -> int = c.uv_async_init
|
|
368
|
+
public foreign function async_send(async_: ptr[uv_async_t]) -> int = c.uv_async_send
|
|
369
|
+
public foreign function timer_init(arg0: ptr[uv_loop_t], handle: ptr[uv_timer_t]) -> int = c.uv_timer_init
|
|
370
|
+
public foreign function timer_start(handle: ptr[uv_timer_t], cb: fn(arg0: ptr[uv_timer_t]) -> void, timeout: ptr_uint, repeat: ptr_uint) -> int = c.uv_timer_start
|
|
371
|
+
public foreign function timer_stop(handle: ptr[uv_timer_t]) -> int = c.uv_timer_stop
|
|
372
|
+
public foreign function timer_again(handle: ptr[uv_timer_t]) -> int = c.uv_timer_again
|
|
373
|
+
public foreign function timer_set_repeat(handle: ptr[uv_timer_t], repeat: ptr_uint) -> void = c.uv_timer_set_repeat
|
|
374
|
+
public foreign function timer_get_repeat(handle: const_ptr[uv_timer_t]) -> ulong = c.uv_timer_get_repeat
|
|
375
|
+
public foreign function timer_get_due_in(handle: const_ptr[uv_timer_t]) -> ulong = c.uv_timer_get_due_in
|
|
376
|
+
public foreign function getaddrinfo(loop: ptr[uv_loop_t], req: ptr[uv_getaddrinfo_t], getaddrinfo_cb: fn(arg0: ptr[uv_getaddrinfo_t], arg1: int, arg2: ptr[addrinfo]) -> void, node: cstr?, service: cstr?, hints: const_ptr[addrinfo]?) -> int = c.uv_getaddrinfo
|
|
377
|
+
public foreign function freeaddrinfo(ai: ptr[addrinfo]?) -> void = c.uv_freeaddrinfo
|
|
378
|
+
public foreign function getnameinfo(loop: ptr[uv_loop_t], req: ptr[uv_getnameinfo_t], getnameinfo_cb: fn(arg0: ptr[uv_getnameinfo_t], arg1: int, arg2: cstr, arg3: cstr) -> void, addr: const_ptr[sockaddr], flags_: int) -> int = c.uv_getnameinfo
|
|
379
|
+
public foreign function spawn(loop: ptr[uv_loop_t], handle: ptr[uv_process_t], options: const_ptr[uv_process_options_t]) -> int = c.uv_spawn
|
|
380
|
+
public foreign function process_kill(arg0: ptr[uv_process_t], signum: int) -> int = c.uv_process_kill
|
|
381
|
+
public foreign function kill(pid: int, signum: int) -> int = c.uv_kill
|
|
382
|
+
public foreign function process_get_pid(arg0: const_ptr[uv_process_t]) -> uv_pid_t = c.uv_process_get_pid
|
|
383
|
+
public foreign function queue_work(loop: ptr[uv_loop_t], req: ptr[uv_work_t], work_cb: fn(arg0: ptr[uv_work_t]) -> void, after_work_cb: fn(arg0: ptr[uv_work_t], arg1: int) -> void) -> int = c.uv_queue_work
|
|
384
|
+
public foreign function cancel(req: ptr[uv_req_t]) -> int = c.uv_cancel
|
|
385
|
+
public foreign function setup_args(argc: int, argv: ptr[ptr[char]]) -> ptr[ptr[char]] = c.uv_setup_args
|
|
386
|
+
public foreign function get_process_title(buffer: ptr[char], size: ptr_uint) -> int = c.uv_get_process_title
|
|
387
|
+
public foreign function set_process_title(title: str as cstr) -> int = c.uv_set_process_title
|
|
388
|
+
public foreign function resident_set_memory(out rss: ptr_uint) -> int = c.uv_resident_set_memory
|
|
389
|
+
public foreign function uptime(out uptime: double) -> int = c.uv_uptime
|
|
390
|
+
public foreign function get_osfhandle(fd: int) -> uv_os_fd_t = c.uv_get_osfhandle
|
|
391
|
+
public foreign function open_osfhandle(os_fd: int) -> int = c.uv_open_osfhandle
|
|
392
|
+
public foreign function getrusage(out rusage: uv_rusage_t) -> int = c.uv_getrusage
|
|
393
|
+
public foreign function getrusage_thread(out rusage: uv_rusage_t) -> int = c.uv_getrusage_thread
|
|
394
|
+
public foreign function os_homedir(buffer: ptr[char], inout size: ptr_uint) -> int = c.uv_os_homedir
|
|
395
|
+
public foreign function os_tmpdir(buffer: ptr[char], inout size: ptr_uint) -> int = c.uv_os_tmpdir
|
|
396
|
+
public foreign function os_get_passwd(pwd: ptr[uv_passwd_t]) -> int = c.uv_os_get_passwd
|
|
397
|
+
public foreign function os_free_passwd(pwd: ptr[uv_passwd_t]) -> void = c.uv_os_free_passwd
|
|
398
|
+
public foreign function os_get_passwd2(pwd: ptr[uv_passwd_t], uid: uint) -> int = c.uv_os_get_passwd2
|
|
399
|
+
public foreign function os_get_group(grp: ptr[uv_group_t], gid: uint) -> int = c.uv_os_get_group
|
|
400
|
+
public foreign function os_free_group(grp: ptr[uv_group_t]) -> void = c.uv_os_free_group
|
|
401
|
+
public foreign function os_getpid() -> uv_pid_t = c.uv_os_getpid
|
|
402
|
+
public foreign function os_getppid() -> uv_pid_t = c.uv_os_getppid
|
|
403
|
+
public foreign function os_getpriority(pid: int, out priority: int) -> int = c.uv_os_getpriority
|
|
404
|
+
public foreign function os_setpriority(pid: int, priority: int) -> int = c.uv_os_setpriority
|
|
405
|
+
public foreign function thread_getpriority(tid: ptr_uint, out priority: int) -> int = c.uv_thread_getpriority
|
|
406
|
+
public foreign function thread_setpriority(tid: ptr_uint, priority: int) -> int = c.uv_thread_setpriority
|
|
407
|
+
public foreign function available_parallelism() -> uint = c.uv_available_parallelism
|
|
408
|
+
public foreign function cpu_info(out cpu_infos: ptr[uv_cpu_info_t]?, out count: int) -> int = c.uv_cpu_info
|
|
409
|
+
public foreign function free_cpu_info(cpu_infos: ptr[uv_cpu_info_t], count: int) -> void = c.uv_free_cpu_info
|
|
410
|
+
public foreign function cpumask_size() -> int = c.uv_cpumask_size
|
|
411
|
+
public foreign function interface_addresses(out addresses: ptr[uv_interface_address_t]?, out count: int) -> int = c.uv_interface_addresses
|
|
412
|
+
public foreign function free_interface_addresses(addresses: ptr[uv_interface_address_t], count: int) -> void = c.uv_free_interface_addresses
|
|
413
|
+
public foreign function os_environ(out envitems: ptr[uv_env_item_t]?, out count: int) -> int = c.uv_os_environ
|
|
414
|
+
public foreign function os_free_environ(envitems: ptr[uv_env_item_t], count: int) -> void = c.uv_os_free_environ
|
|
415
|
+
public foreign function os_getenv(name: str as cstr, buffer: ptr[char], inout size: ptr_uint) -> int = c.uv_os_getenv
|
|
416
|
+
public foreign function os_setenv(name: str as cstr, value: str as cstr) -> int = c.uv_os_setenv
|
|
417
|
+
public foreign function os_unsetenv(name: str as cstr) -> int = c.uv_os_unsetenv
|
|
418
|
+
public foreign function os_gethostname(buffer: ptr[char], inout size: ptr_uint) -> int = c.uv_os_gethostname
|
|
419
|
+
public foreign function os_uname(buffer: ptr[uv_utsname_t]) -> int = c.uv_os_uname
|
|
420
|
+
public foreign function metrics_info(loop: ptr[uv_loop_t], out metrics: uv_metrics_t) -> int = c.uv_metrics_info
|
|
421
|
+
public foreign function metrics_idle_time(loop: ptr[uv_loop_t]) -> ulong = c.uv_metrics_idle_time
|
|
422
|
+
public foreign function fs_get_type(arg0: const_ptr[uv_fs_t]) -> uv_fs_type = c.uv_fs_get_type
|
|
423
|
+
public foreign function fs_get_result(arg0: const_ptr[uv_fs_t]) -> ptr_int = c.uv_fs_get_result
|
|
424
|
+
public foreign function fs_get_system_error(arg0: const_ptr[uv_fs_t]) -> int = c.uv_fs_get_system_error
|
|
425
|
+
public foreign function fs_get_ptr(arg0: const_ptr[uv_fs_t]) -> ptr[void] = c.uv_fs_get_ptr
|
|
426
|
+
public foreign function fs_get_path(arg0: const_ptr[uv_fs_t]) -> cstr = c.uv_fs_get_path
|
|
427
|
+
public foreign function fs_get_statbuf(arg0: ptr[uv_fs_t]) -> ptr[uv_stat_t] = c.uv_fs_get_statbuf
|
|
428
|
+
public foreign function fs_req_cleanup(req: ptr[uv_fs_t]) -> void = c.uv_fs_req_cleanup
|
|
429
|
+
public foreign function fs_close(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], file: int, cb: uv_fs_cb?) -> int = c.uv_fs_close
|
|
430
|
+
public foreign function fs_open(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, flags_: int, mode: int, cb: uv_fs_cb?) -> int = c.uv_fs_open
|
|
431
|
+
public foreign function fs_read(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], file: int, bufs: const_ptr[uv_buf_t], nbufs: uint, offset: ptr_int, cb: uv_fs_cb?) -> int = c.uv_fs_read
|
|
432
|
+
public foreign function fs_unlink(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, cb: uv_fs_cb?) -> int = c.uv_fs_unlink
|
|
433
|
+
public foreign function fs_write(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], file: int, bufs: const_ptr[uv_buf_t], nbufs: uint, offset: ptr_int, cb: uv_fs_cb?) -> int = c.uv_fs_write
|
|
434
|
+
public foreign function fs_copyfile(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, new_path: str as cstr, flags_: int, cb: uv_fs_cb?) -> int = c.uv_fs_copyfile
|
|
435
|
+
public foreign function fs_mkdir(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, mode: int, cb: uv_fs_cb?) -> int = c.uv_fs_mkdir
|
|
436
|
+
public foreign function fs_mkdtemp(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], tpl: str as cstr, cb: uv_fs_cb?) -> int = c.uv_fs_mkdtemp
|
|
437
|
+
public foreign function fs_mkstemp(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], tpl: str as cstr, cb: uv_fs_cb?) -> int = c.uv_fs_mkstemp
|
|
438
|
+
public foreign function fs_rmdir(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, cb: uv_fs_cb?) -> int = c.uv_fs_rmdir
|
|
439
|
+
public foreign function fs_scandir(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, flags_: int, cb: uv_fs_cb?) -> int = c.uv_fs_scandir
|
|
440
|
+
public foreign function fs_scandir_next(req: ptr[uv_fs_t], out ent: uv_dirent_t) -> int = c.uv_fs_scandir_next
|
|
441
|
+
public foreign function fs_opendir(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, cb: uv_fs_cb?) -> int = c.uv_fs_opendir
|
|
442
|
+
public foreign function fs_readdir(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], dir: ptr[uv_dir_t], cb: uv_fs_cb?) -> int = c.uv_fs_readdir
|
|
443
|
+
public foreign function fs_closedir(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], dir: ptr[uv_dir_t], cb: uv_fs_cb?) -> int = c.uv_fs_closedir
|
|
444
|
+
public foreign function fs_stat(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, cb: uv_fs_cb?) -> int = c.uv_fs_stat
|
|
445
|
+
public foreign function fs_fstat(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], file: int, cb: uv_fs_cb?) -> int = c.uv_fs_fstat
|
|
446
|
+
public foreign function fs_rename(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, new_path: str as cstr, cb: uv_fs_cb?) -> int = c.uv_fs_rename
|
|
447
|
+
public foreign function fs_fsync(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], file: int, cb: uv_fs_cb?) -> int = c.uv_fs_fsync
|
|
448
|
+
public foreign function fs_fdatasync(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], file: int, cb: uv_fs_cb?) -> int = c.uv_fs_fdatasync
|
|
449
|
+
public foreign function fs_ftruncate(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], file: int, offset: ptr_int, cb: uv_fs_cb?) -> int = c.uv_fs_ftruncate
|
|
450
|
+
public foreign function fs_sendfile(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], out_fd: int, in_fd: int, in_offset: ptr_int, length: ptr_uint, cb: uv_fs_cb?) -> int = c.uv_fs_sendfile
|
|
451
|
+
public foreign function fs_access(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, mode: int, cb: uv_fs_cb?) -> int = c.uv_fs_access
|
|
452
|
+
public foreign function fs_chmod(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, mode: int, cb: uv_fs_cb?) -> int = c.uv_fs_chmod
|
|
453
|
+
public foreign function fs_utime(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, atime: double, mtime: double, cb: uv_fs_cb?) -> int = c.uv_fs_utime
|
|
454
|
+
public foreign function fs_futime(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], file: int, atime: double, mtime: double, cb: uv_fs_cb?) -> int = c.uv_fs_futime
|
|
455
|
+
public foreign function fs_lutime(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, atime: double, mtime: double, cb: uv_fs_cb?) -> int = c.uv_fs_lutime
|
|
456
|
+
public foreign function fs_lstat(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, cb: uv_fs_cb?) -> int = c.uv_fs_lstat
|
|
457
|
+
public foreign function fs_link(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, new_path: str as cstr, cb: uv_fs_cb?) -> int = c.uv_fs_link
|
|
458
|
+
public foreign function fs_symlink(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, new_path: str as cstr, flags_: int, cb: uv_fs_cb?) -> int = c.uv_fs_symlink
|
|
459
|
+
public foreign function fs_readlink(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, cb: uv_fs_cb?) -> int = c.uv_fs_readlink
|
|
460
|
+
public foreign function fs_realpath(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, cb: uv_fs_cb?) -> int = c.uv_fs_realpath
|
|
461
|
+
public foreign function fs_fchmod(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], file: int, mode: int, cb: uv_fs_cb?) -> int = c.uv_fs_fchmod
|
|
462
|
+
public foreign function fs_chown(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, uid: uint, gid: uint, cb: uv_fs_cb?) -> int = c.uv_fs_chown
|
|
463
|
+
public foreign function fs_fchown(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], file: int, uid: uint, gid: uint, cb: uv_fs_cb?) -> int = c.uv_fs_fchown
|
|
464
|
+
public foreign function fs_lchown(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, uid: uint, gid: uint, cb: uv_fs_cb?) -> int = c.uv_fs_lchown
|
|
465
|
+
public foreign function fs_statfs(loop: ptr[uv_loop_t]?, req: ptr[uv_fs_t], path: str as cstr, cb: uv_fs_cb?) -> int = c.uv_fs_statfs
|
|
466
|
+
public foreign function fs_poll_init(loop: ptr[uv_loop_t], handle: ptr[uv_fs_poll_t]) -> int = c.uv_fs_poll_init
|
|
467
|
+
public foreign function fs_poll_start(handle: ptr[uv_fs_poll_t], poll_cb: fn(arg0: ptr[uv_fs_poll_t], arg1: int, arg2: const_ptr[uv_stat_t], arg3: const_ptr[uv_stat_t]) -> void, path: str as cstr, interval: uint) -> int = c.uv_fs_poll_start
|
|
468
|
+
public foreign function fs_poll_stop(handle: ptr[uv_fs_poll_t]) -> int = c.uv_fs_poll_stop
|
|
469
|
+
public foreign function fs_poll_getpath(handle: ptr[uv_fs_poll_t], buffer: ptr[char], inout size: ptr_uint) -> int = c.uv_fs_poll_getpath
|
|
470
|
+
public foreign function signal_init(loop: ptr[uv_loop_t], handle: ptr[uv_signal_t]) -> int = c.uv_signal_init
|
|
471
|
+
public foreign function signal_start(handle: ptr[uv_signal_t], signal_cb: fn(arg0: ptr[uv_signal_t], arg1: int) -> void, signum: int) -> int = c.uv_signal_start
|
|
472
|
+
public foreign function signal_start_oneshot(handle: ptr[uv_signal_t], signal_cb: fn(arg0: ptr[uv_signal_t], arg1: int) -> void, signum: int) -> int = c.uv_signal_start_oneshot
|
|
473
|
+
public foreign function signal_stop(handle: ptr[uv_signal_t]) -> int = c.uv_signal_stop
|
|
474
|
+
public foreign function loadavg(avg: ptr[double]) -> void = c.uv_loadavg
|
|
475
|
+
public foreign function fs_event_init(loop: ptr[uv_loop_t], handle: ptr[uv_fs_event_t]) -> int = c.uv_fs_event_init
|
|
476
|
+
public foreign function fs_event_start(handle: ptr[uv_fs_event_t], cb: fn(arg0: ptr[uv_fs_event_t], arg1: cstr, arg2: int, arg3: int) -> void, path: str as cstr, flags_: uint) -> int = c.uv_fs_event_start
|
|
477
|
+
public foreign function fs_event_stop(handle: ptr[uv_fs_event_t]) -> int = c.uv_fs_event_stop
|
|
478
|
+
public foreign function fs_event_getpath(handle: ptr[uv_fs_event_t], buffer: ptr[char], inout size: ptr_uint) -> int = c.uv_fs_event_getpath
|
|
479
|
+
public foreign function ip4_addr(ip: str as cstr, port: int, out addr: sockaddr_in) -> int = c.uv_ip4_addr
|
|
480
|
+
public foreign function ip6_addr(ip: str as cstr, port: int, out addr: sockaddr_in6) -> int = c.uv_ip6_addr
|
|
481
|
+
public foreign function ip4_name(src: const_ptr[sockaddr_in], dst: ptr[char], size: ptr_uint) -> int = c.uv_ip4_name
|
|
482
|
+
public foreign function ip6_name(src: const_ptr[sockaddr_in6], dst: ptr[char], size: ptr_uint) -> int = c.uv_ip6_name
|
|
483
|
+
public foreign function ip_name(src: const_ptr[sockaddr], dst: ptr[char], size: ptr_uint) -> int = c.uv_ip_name
|
|
484
|
+
public foreign function inet_ntop(af: int, src: const_ptr[void], dst: ptr[char], size: ptr_uint) -> int = c.uv_inet_ntop
|
|
485
|
+
public foreign function inet_pton(af: int, src: str as cstr, dst: ptr[void]) -> int = c.uv_inet_pton
|
|
486
|
+
public foreign function random(loop: ptr[uv_loop_t], req: ptr[uv_random_t], buf: ptr[void], buflen: ptr_uint, flags_: uint, cb: fn(arg0: ptr[uv_random_t], arg1: int, arg2: ptr[void], arg3: ptr_uint) -> void) -> int = c.uv_random
|
|
487
|
+
public foreign function if_indextoname(ifindex: uint, buffer: ptr[char], inout size: ptr_uint) -> int = c.uv_if_indextoname
|
|
488
|
+
public foreign function if_indextoiid(ifindex: uint, buffer: ptr[char], inout size: ptr_uint) -> int = c.uv_if_indextoiid
|
|
489
|
+
public foreign function exepath(buffer: ptr[char], inout size: ptr_uint) -> int = c.uv_exepath
|
|
490
|
+
public foreign function cwd(buffer: ptr[char], inout size: ptr_uint) -> int = c.uv_cwd
|
|
491
|
+
public foreign function chdir(dir: str as cstr) -> int = c.uv_chdir
|
|
492
|
+
public foreign function get_free_memory() -> ulong = c.uv_get_free_memory
|
|
493
|
+
public foreign function get_total_memory() -> ulong = c.uv_get_total_memory
|
|
494
|
+
public foreign function get_constrained_memory() -> ulong = c.uv_get_constrained_memory
|
|
495
|
+
public foreign function get_available_memory() -> ulong = c.uv_get_available_memory
|
|
496
|
+
public foreign function clock_gettime(clock_id: uv_clock_id, out ts: uv_timespec64_t) -> int = c.uv_clock_gettime
|
|
497
|
+
public foreign function hrtime() -> ulong = c.uv_hrtime
|
|
498
|
+
public foreign function sleep(msec: uint) -> void = c.uv_sleep
|
|
499
|
+
public foreign function disable_stdio_inheritance() -> void = c.uv_disable_stdio_inheritance
|
|
500
|
+
public foreign function dlopen(filename: str as cstr, lib: ptr[uv_lib_t]) -> int = c.uv_dlopen
|
|
501
|
+
public foreign function dlclose(lib: ptr[uv_lib_t]) -> void = c.uv_dlclose
|
|
502
|
+
public foreign function dlsym(lib: ptr[uv_lib_t], name: str as cstr, out ptr: ptr[void]?) -> int = c.uv_dlsym
|
|
503
|
+
public foreign function dlerror(lib: const_ptr[uv_lib_t]) -> cstr? = c.uv_dlerror
|
|
504
|
+
public foreign function mutex_init(handle: ptr[uv_mutex_t]) -> int = c.uv_mutex_init
|
|
505
|
+
public foreign function mutex_init_recursive(handle: ptr[uv_mutex_t]) -> int = c.uv_mutex_init_recursive
|
|
506
|
+
public foreign function mutex_destroy(handle: ptr[uv_mutex_t]) -> void = c.uv_mutex_destroy
|
|
507
|
+
public foreign function mutex_lock(handle: ptr[uv_mutex_t]) -> void = c.uv_mutex_lock
|
|
508
|
+
public foreign function mutex_trylock(handle: ptr[uv_mutex_t]) -> int = c.uv_mutex_trylock
|
|
509
|
+
public foreign function mutex_unlock(handle: ptr[uv_mutex_t]) -> void = c.uv_mutex_unlock
|
|
510
|
+
public foreign function rwlock_init(rwlock: ptr[uv_rwlock_t]) -> int = c.uv_rwlock_init
|
|
511
|
+
public foreign function rwlock_destroy(rwlock: ptr[uv_rwlock_t]) -> void = c.uv_rwlock_destroy
|
|
512
|
+
public foreign function rwlock_rdlock(rwlock: ptr[uv_rwlock_t]) -> void = c.uv_rwlock_rdlock
|
|
513
|
+
public foreign function rwlock_tryrdlock(rwlock: ptr[uv_rwlock_t]) -> int = c.uv_rwlock_tryrdlock
|
|
514
|
+
public foreign function rwlock_rdunlock(rwlock: ptr[uv_rwlock_t]) -> void = c.uv_rwlock_rdunlock
|
|
515
|
+
public foreign function rwlock_wrlock(rwlock: ptr[uv_rwlock_t]) -> void = c.uv_rwlock_wrlock
|
|
516
|
+
public foreign function rwlock_trywrlock(rwlock: ptr[uv_rwlock_t]) -> int = c.uv_rwlock_trywrlock
|
|
517
|
+
public foreign function rwlock_wrunlock(rwlock: ptr[uv_rwlock_t]) -> void = c.uv_rwlock_wrunlock
|
|
518
|
+
public foreign function sem_init(sem: ptr[uv_sem_t], value: uint) -> int = c.uv_sem_init
|
|
519
|
+
public foreign function sem_destroy(sem: ptr[uv_sem_t]) -> void = c.uv_sem_destroy
|
|
520
|
+
public foreign function sem_post(sem: ptr[uv_sem_t]) -> void = c.uv_sem_post
|
|
521
|
+
public foreign function sem_wait(sem: ptr[uv_sem_t]) -> void = c.uv_sem_wait
|
|
522
|
+
public foreign function sem_trywait(sem: ptr[uv_sem_t]) -> int = c.uv_sem_trywait
|
|
523
|
+
public foreign function cond_init(cond: ptr[uv_cond_t]) -> int = c.uv_cond_init
|
|
524
|
+
public foreign function cond_destroy(cond: ptr[uv_cond_t]) -> void = c.uv_cond_destroy
|
|
525
|
+
public foreign function cond_signal(cond: ptr[uv_cond_t]) -> void = c.uv_cond_signal
|
|
526
|
+
public foreign function cond_broadcast(cond: ptr[uv_cond_t]) -> void = c.uv_cond_broadcast
|
|
527
|
+
public foreign function barrier_init(barrier: ptr[uv_barrier_t], count: uint) -> int = c.uv_barrier_init
|
|
528
|
+
public foreign function barrier_destroy(barrier: ptr[uv_barrier_t]) -> void = c.uv_barrier_destroy
|
|
529
|
+
public foreign function barrier_wait(barrier: ptr[uv_barrier_t]) -> int = c.uv_barrier_wait
|
|
530
|
+
public foreign function cond_wait(cond: ptr[uv_cond_t], mutex: ptr[uv_mutex_t]) -> void = c.uv_cond_wait
|
|
531
|
+
public foreign function cond_timedwait(cond: ptr[uv_cond_t], mutex: ptr[uv_mutex_t], timeout: ptr_uint) -> int = c.uv_cond_timedwait
|
|
532
|
+
public foreign function once(guard: ptr[uv_once_t], callback: fn() -> void) -> void = c.uv_once
|
|
533
|
+
public foreign function key_create(key: ptr[uv_key_t]) -> int = c.uv_key_create
|
|
534
|
+
public foreign function key_delete(key: ptr[uv_key_t]) -> void = c.uv_key_delete
|
|
535
|
+
public foreign function key_get(key: ptr[uv_key_t]) -> ptr[void]? = c.uv_key_get
|
|
536
|
+
public foreign function key_set(key: ptr[uv_key_t], value: ptr[void]) -> void = c.uv_key_set
|
|
537
|
+
public foreign function gettimeofday(out tv: uv_timeval64_t) -> int = c.uv_gettimeofday
|
|
538
|
+
public foreign function thread_create(tid: ptr[uv_thread_t], entry: fn(arg0: ptr[void]) -> void, arg: ptr[void]) -> int = c.uv_thread_create
|
|
539
|
+
public foreign function thread_detach(tid: ptr[uv_thread_t]) -> int = c.uv_thread_detach
|
|
540
|
+
public foreign function thread_create_ex(tid: ptr[uv_thread_t], params: const_ptr[uv_thread_options_t], entry: fn(arg0: ptr[void]) -> void, arg: ptr[void]) -> int = c.uv_thread_create_ex
|
|
541
|
+
public foreign function thread_setaffinity(tid: ptr[uv_thread_t], cpumask: ptr[char], oldmask: ptr[char], mask_size: ptr_uint) -> int = c.uv_thread_setaffinity
|
|
542
|
+
public foreign function thread_getaffinity(tid: ptr[uv_thread_t], cpumask: ptr[char], mask_size: ptr_uint) -> int = c.uv_thread_getaffinity
|
|
543
|
+
public foreign function thread_getcpu() -> int = c.uv_thread_getcpu
|
|
544
|
+
public foreign function thread_self() -> uv_thread_t = c.uv_thread_self
|
|
545
|
+
public foreign function thread_join(tid: ptr[uv_thread_t]) -> int = c.uv_thread_join
|
|
546
|
+
public foreign function thread_equal(t1: const_ptr[uv_thread_t], t2: const_ptr[uv_thread_t]) -> int = c.uv_thread_equal
|
|
547
|
+
public foreign function thread_setname(name: str as cstr) -> int = c.uv_thread_setname
|
|
548
|
+
public foreign function thread_getname(tid: ptr[uv_thread_t], name: ptr[char], size: ptr_uint) -> int = c.uv_thread_getname
|
|
549
|
+
public foreign function loop_get_data(arg0: const_ptr[uv_loop_t]) -> ptr[void]? = c.uv_loop_get_data
|
|
550
|
+
public foreign function loop_set_data(arg0: ptr[uv_loop_t], data: ptr[void]) -> void = c.uv_loop_set_data
|
|
551
|
+
public foreign function utf16_length_as_wtf8(utf16: const_ptr[ushort], utf16_len: ptr_int) -> ptr_uint = c.uv_utf16_length_as_wtf8
|
|
552
|
+
public foreign function utf16_to_wtf8(utf_16: const_ptr[ushort], utf_16_len: ptr_int, out wtf_8_ptr: ptr[char]?, out wtf_8_len_ptr: ptr_uint) -> int = c.uv_utf16_to_wtf8
|
|
553
|
+
public foreign function wtf8_length_as_utf16(wtf8: str as cstr) -> ptr_int = c.uv_wtf8_length_as_utf16
|
|
554
|
+
public foreign function wtf8_to_utf16(wtf8: str as cstr, utf16: ptr[ushort], utf16_len: ptr_uint) -> void = c.uv_wtf8_to_utf16
|