mt-lang 0.3.31 → 0.3.32
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/lib/milk_tea/base.rb +1 -1
- data/lib/milk_tea/bindings/bindgen/emitter.rb +1 -8
- data/lib/milk_tea/core/lexer.rb +5 -1
- data/lib/milk_tea/core/parser/declarations.rb +9 -4
- data/std/c/box2d.mt +1 -1
- data/std/c/cgltf.mt +8 -8
- data/std/c/cjson.mt +1 -1
- data/std/c/curl.mt +5 -5
- data/std/c/enet.mt +3 -3
- data/std/c/flecs.mt +31 -31
- data/std/c/libuv.mt +50 -50
- data/std/c/miniaudio.mt +20 -20
- data/std/c/raygui.mt +1 -1
- data/std/c/raylib.mt +1 -1
- data/std/c/rpng.mt +1 -1
- data/std/c/rres.mt +2 -2
- data/std/c/sdl3.mt +56 -56
- data/std/c/sqlite3.mt +1 -1
- data/std/c/stb_truetype.mt +1 -1
- data/std/sdl3/runtime.mt +11 -0
- metadata +2 -2
data/std/c/libuv.mt
CHANGED
|
@@ -466,14 +466,14 @@ external function uv_err_name_r(err: int, buf: ptr[char], buflen: ptr_uint) -> p
|
|
|
466
466
|
|
|
467
467
|
struct uv_req_s = c"uv_req_t":
|
|
468
468
|
data: ptr[void]
|
|
469
|
-
|
|
469
|
+
type: uv_req_type
|
|
470
470
|
reserved: array[ptr[void], 6]
|
|
471
471
|
|
|
472
472
|
external function uv_shutdown(req: ptr[uv_shutdown_t], handle: ptr[uv_stream_t], cb: fn(arg0: ptr[uv_shutdown_t], arg1: int) -> void) -> int
|
|
473
473
|
|
|
474
474
|
struct uv_shutdown_s = c"uv_shutdown_t":
|
|
475
475
|
data: ptr[void]
|
|
476
|
-
|
|
476
|
+
type: uv_req_type
|
|
477
477
|
reserved: array[ptr[void], 6]
|
|
478
478
|
handle: ptr[uv_stream_t]
|
|
479
479
|
cb: fn(arg0: ptr[uv_shutdown_t], arg1: int) -> void
|
|
@@ -481,12 +481,12 @@ struct uv_shutdown_s = c"uv_shutdown_t":
|
|
|
481
481
|
struct uv_handle_s = c"uv_handle_t":
|
|
482
482
|
data: ptr[void]
|
|
483
483
|
loop: ptr[uv_loop_t]
|
|
484
|
-
|
|
484
|
+
type: uv_handle_type
|
|
485
485
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
486
486
|
handle_queue: uv__queue
|
|
487
487
|
u: uv_handle_s_u
|
|
488
488
|
next_closing: ptr[uv_handle_t]
|
|
489
|
-
|
|
489
|
+
flags: uint
|
|
490
490
|
|
|
491
491
|
external function uv_handle_size(type_: uv_handle_type) -> ptr_uint
|
|
492
492
|
external function uv_handle_get_type(handle: const_ptr[uv_handle_t]) -> uv_handle_type
|
|
@@ -512,12 +512,12 @@ external function uv_socketpair(type_: int, protocol: int, socket_vector: ptr[uv
|
|
|
512
512
|
struct uv_stream_s = c"uv_stream_t":
|
|
513
513
|
data: ptr[void]
|
|
514
514
|
loop: ptr[uv_loop_t]
|
|
515
|
-
|
|
515
|
+
type: uv_handle_type
|
|
516
516
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
517
517
|
handle_queue: uv__queue
|
|
518
518
|
u: uv_stream_s_u
|
|
519
519
|
next_closing: ptr[uv_handle_t]
|
|
520
|
-
|
|
520
|
+
flags: uint
|
|
521
521
|
write_queue_size: ptr_uint
|
|
522
522
|
alloc_cb: fn(arg0: ptr[uv_handle_t], arg1: ptr_uint, arg2: ptr[uv_buf_t]) -> void
|
|
523
523
|
read_cb: fn(arg0: ptr[uv_stream_t], arg1: ptr_int, arg2: const_ptr[uv_buf_t]) -> void
|
|
@@ -543,7 +543,7 @@ external function uv_try_write2(handle: ptr[uv_stream_t], bufs: const_ptr[uv_buf
|
|
|
543
543
|
|
|
544
544
|
struct uv_write_s = c"uv_write_t":
|
|
545
545
|
data: ptr[void]
|
|
546
|
-
|
|
546
|
+
type: uv_req_type
|
|
547
547
|
reserved: array[ptr[void], 6]
|
|
548
548
|
cb: fn(arg0: ptr[uv_write_t], arg1: int) -> void
|
|
549
549
|
send_handle: ptr[uv_stream_t]
|
|
@@ -563,12 +563,12 @@ external function uv_is_closing(handle: const_ptr[uv_handle_t]) -> int
|
|
|
563
563
|
struct uv_tcp_s = c"uv_tcp_t":
|
|
564
564
|
data: ptr[void]
|
|
565
565
|
loop: ptr[uv_loop_t]
|
|
566
|
-
|
|
566
|
+
type: uv_handle_type
|
|
567
567
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
568
568
|
handle_queue: uv__queue
|
|
569
569
|
u: uv_tcp_s_u
|
|
570
570
|
next_closing: ptr[uv_handle_t]
|
|
571
|
-
|
|
571
|
+
flags: uint
|
|
572
572
|
write_queue_size: ptr_uint
|
|
573
573
|
alloc_cb: fn(arg0: ptr[uv_handle_t], arg1: ptr_uint, arg2: ptr[uv_buf_t]) -> void
|
|
574
574
|
read_cb: fn(arg0: ptr[uv_stream_t], arg1: ptr_int, arg2: const_ptr[uv_buf_t]) -> void
|
|
@@ -602,7 +602,7 @@ external function uv_tcp_connect(req: ptr[uv_connect_t], handle: ptr[uv_tcp_t],
|
|
|
602
602
|
|
|
603
603
|
struct uv_connect_s = c"uv_connect_t":
|
|
604
604
|
data: ptr[void]
|
|
605
|
-
|
|
605
|
+
type: uv_req_type
|
|
606
606
|
reserved: array[ptr[void], 6]
|
|
607
607
|
cb: fn(arg0: ptr[uv_connect_t], arg1: int) -> void
|
|
608
608
|
handle: ptr[uv_stream_t]
|
|
@@ -624,12 +624,12 @@ type uv_udp_recv_cb = fn(arg0: ptr[uv_udp_t], arg1: ptr_int, arg2: const_ptr[uv_
|
|
|
624
624
|
struct uv_udp_s = c"uv_udp_t":
|
|
625
625
|
data: ptr[void]
|
|
626
626
|
loop: ptr[uv_loop_t]
|
|
627
|
-
|
|
627
|
+
type: uv_handle_type
|
|
628
628
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
629
629
|
handle_queue: uv__queue
|
|
630
630
|
u: uv_udp_s_u
|
|
631
631
|
next_closing: ptr[uv_handle_t]
|
|
632
|
-
|
|
632
|
+
flags: uint
|
|
633
633
|
send_queue_size: ptr_uint
|
|
634
634
|
send_queue_count: ptr_uint
|
|
635
635
|
alloc_cb: fn(arg0: ptr[uv_handle_t], arg1: ptr_uint, arg2: ptr[uv_buf_t]) -> void
|
|
@@ -640,7 +640,7 @@ struct uv_udp_s = c"uv_udp_t":
|
|
|
640
640
|
|
|
641
641
|
struct uv_udp_send_s = c"uv_udp_send_t":
|
|
642
642
|
data: ptr[void]
|
|
643
|
-
|
|
643
|
+
type: uv_req_type
|
|
644
644
|
reserved: array[ptr[void], 6]
|
|
645
645
|
handle: ptr[uv_udp_t]
|
|
646
646
|
cb: fn(arg0: ptr[uv_udp_send_t], arg1: int) -> void
|
|
@@ -679,12 +679,12 @@ external function uv_udp_get_send_queue_count(handle: const_ptr[uv_udp_t]) -> pt
|
|
|
679
679
|
struct uv_tty_s = c"uv_tty_t":
|
|
680
680
|
data: ptr[void]
|
|
681
681
|
loop: ptr[uv_loop_t]
|
|
682
|
-
|
|
682
|
+
type: uv_handle_type
|
|
683
683
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
684
684
|
handle_queue: uv__queue
|
|
685
685
|
u: uv_tty_s_u
|
|
686
686
|
next_closing: ptr[uv_handle_t]
|
|
687
|
-
|
|
687
|
+
flags: uint
|
|
688
688
|
write_queue_size: ptr_uint
|
|
689
689
|
alloc_cb: fn(arg0: ptr[uv_handle_t], arg1: ptr_uint, arg2: ptr[uv_buf_t]) -> void
|
|
690
690
|
read_cb: fn(arg0: ptr[uv_stream_t], arg1: ptr_int, arg2: const_ptr[uv_buf_t]) -> void
|
|
@@ -721,12 +721,12 @@ external function uv_guess_handle(file: int) -> uv_handle_type
|
|
|
721
721
|
struct uv_pipe_s = c"uv_pipe_t":
|
|
722
722
|
data: ptr[void]
|
|
723
723
|
loop: ptr[uv_loop_t]
|
|
724
|
-
|
|
724
|
+
type: uv_handle_type
|
|
725
725
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
726
726
|
handle_queue: uv__queue
|
|
727
727
|
u: uv_pipe_s_u
|
|
728
728
|
next_closing: ptr[uv_handle_t]
|
|
729
|
-
|
|
729
|
+
flags: uint
|
|
730
730
|
write_queue_size: ptr_uint
|
|
731
731
|
alloc_cb: fn(arg0: ptr[uv_handle_t], arg1: ptr_uint, arg2: ptr[uv_buf_t]) -> void
|
|
732
732
|
read_cb: fn(arg0: ptr[uv_stream_t], arg1: ptr_int, arg2: const_ptr[uv_buf_t]) -> void
|
|
@@ -758,12 +758,12 @@ external function uv_pipe_chmod(handle: ptr[uv_pipe_t], flags_: int) -> int
|
|
|
758
758
|
struct uv_poll_s = c"uv_poll_t":
|
|
759
759
|
data: ptr[void]
|
|
760
760
|
loop: ptr[uv_loop_t]
|
|
761
|
-
|
|
761
|
+
type: uv_handle_type
|
|
762
762
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
763
763
|
handle_queue: uv__queue
|
|
764
764
|
u: uv_poll_s_u
|
|
765
765
|
next_closing: ptr[uv_handle_t]
|
|
766
|
-
|
|
766
|
+
flags: uint
|
|
767
767
|
poll_cb: fn(arg0: ptr[uv_poll_t], arg1: int, arg2: int) -> void
|
|
768
768
|
io_watcher: uv__io_s
|
|
769
769
|
|
|
@@ -781,12 +781,12 @@ external function uv_poll_stop(handle: ptr[uv_poll_t]) -> int
|
|
|
781
781
|
struct uv_prepare_s = c"uv_prepare_t":
|
|
782
782
|
data: ptr[void]
|
|
783
783
|
loop: ptr[uv_loop_t]
|
|
784
|
-
|
|
784
|
+
type: uv_handle_type
|
|
785
785
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
786
786
|
handle_queue: uv__queue
|
|
787
787
|
u: uv_prepare_s_u
|
|
788
788
|
next_closing: ptr[uv_handle_t]
|
|
789
|
-
|
|
789
|
+
flags: uint
|
|
790
790
|
prepare_cb: fn(arg0: ptr[uv_prepare_t]) -> void
|
|
791
791
|
queue: uv__queue
|
|
792
792
|
|
|
@@ -797,12 +797,12 @@ external function uv_prepare_stop(prepare: ptr[uv_prepare_t]) -> int
|
|
|
797
797
|
struct uv_check_s = c"uv_check_t":
|
|
798
798
|
data: ptr[void]
|
|
799
799
|
loop: ptr[uv_loop_t]
|
|
800
|
-
|
|
800
|
+
type: uv_handle_type
|
|
801
801
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
802
802
|
handle_queue: uv__queue
|
|
803
803
|
u: uv_check_s_u
|
|
804
804
|
next_closing: ptr[uv_handle_t]
|
|
805
|
-
|
|
805
|
+
flags: uint
|
|
806
806
|
check_cb: fn(arg0: ptr[uv_check_t]) -> void
|
|
807
807
|
queue: uv__queue
|
|
808
808
|
|
|
@@ -813,12 +813,12 @@ external function uv_check_stop(check: ptr[uv_check_t]) -> int
|
|
|
813
813
|
struct uv_idle_s = c"uv_idle_t":
|
|
814
814
|
data: ptr[void]
|
|
815
815
|
loop: ptr[uv_loop_t]
|
|
816
|
-
|
|
816
|
+
type: uv_handle_type
|
|
817
817
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
818
818
|
handle_queue: uv__queue
|
|
819
819
|
u: uv_idle_s_u
|
|
820
820
|
next_closing: ptr[uv_handle_t]
|
|
821
|
-
|
|
821
|
+
flags: uint
|
|
822
822
|
idle_cb: fn(arg0: ptr[uv_idle_t]) -> void
|
|
823
823
|
queue: uv__queue
|
|
824
824
|
|
|
@@ -829,12 +829,12 @@ external function uv_idle_stop(idle: ptr[uv_idle_t]) -> int
|
|
|
829
829
|
struct uv_async_s = c"uv_async_t":
|
|
830
830
|
data: ptr[void]
|
|
831
831
|
loop: ptr[uv_loop_t]
|
|
832
|
-
|
|
832
|
+
type: uv_handle_type
|
|
833
833
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
834
834
|
handle_queue: uv__queue
|
|
835
835
|
u: uv_async_s_u
|
|
836
836
|
next_closing: ptr[uv_handle_t]
|
|
837
|
-
|
|
837
|
+
flags: uint
|
|
838
838
|
async_cb: fn(arg0: ptr[uv_async_t]) -> void
|
|
839
839
|
queue: uv__queue
|
|
840
840
|
pending: int
|
|
@@ -845,12 +845,12 @@ external function uv_async_send(async_: ptr[uv_async_t]) -> int
|
|
|
845
845
|
struct uv_timer_s = c"uv_timer_t":
|
|
846
846
|
data: ptr[void]
|
|
847
847
|
loop: ptr[uv_loop_t]
|
|
848
|
-
|
|
848
|
+
type: uv_handle_type
|
|
849
849
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
850
850
|
handle_queue: uv__queue
|
|
851
851
|
u: uv_timer_s_u
|
|
852
852
|
next_closing: ptr[uv_handle_t]
|
|
853
|
-
|
|
853
|
+
flags: uint
|
|
854
854
|
timer_cb: fn(arg0: ptr[uv_timer_t]) -> void
|
|
855
855
|
node: uv_timer_s_node
|
|
856
856
|
timeout: ptr_uint
|
|
@@ -867,7 +867,7 @@ external function uv_timer_get_due_in(handle: const_ptr[uv_timer_t]) -> ulong
|
|
|
867
867
|
|
|
868
868
|
struct uv_getaddrinfo_s = c"uv_getaddrinfo_t":
|
|
869
869
|
data: ptr[void]
|
|
870
|
-
|
|
870
|
+
type: uv_req_type
|
|
871
871
|
reserved: array[ptr[void], 6]
|
|
872
872
|
loop: ptr[uv_loop_t]
|
|
873
873
|
work_req: uv__work
|
|
@@ -883,13 +883,13 @@ external function uv_freeaddrinfo(ai: ptr[addrinfo]?) -> void
|
|
|
883
883
|
|
|
884
884
|
struct uv_getnameinfo_s = c"uv_getnameinfo_t":
|
|
885
885
|
data: ptr[void]
|
|
886
|
-
|
|
886
|
+
type: uv_req_type
|
|
887
887
|
reserved: array[ptr[void], 6]
|
|
888
888
|
loop: ptr[uv_loop_t]
|
|
889
889
|
work_req: uv__work
|
|
890
890
|
getnameinfo_cb: fn(arg0: ptr[uv_getnameinfo_t], arg1: int, arg2: cstr, arg3: cstr) -> void
|
|
891
891
|
storage: sockaddr_storage
|
|
892
|
-
|
|
892
|
+
flags: int
|
|
893
893
|
host: array[char, 1025]
|
|
894
894
|
service: array[char, 32]
|
|
895
895
|
retcode: int
|
|
@@ -907,7 +907,7 @@ flags uv_stdio_flags: int
|
|
|
907
907
|
UV_OVERLAPPED_PIPE = 64
|
|
908
908
|
|
|
909
909
|
struct uv_stdio_container_t:
|
|
910
|
-
|
|
910
|
+
flags: uv_stdio_flags
|
|
911
911
|
data: uv_stdio_container_t_data
|
|
912
912
|
|
|
913
913
|
struct uv_process_options_t:
|
|
@@ -916,7 +916,7 @@ struct uv_process_options_t:
|
|
|
916
916
|
args: ptr[ptr[char]]
|
|
917
917
|
env: ptr[ptr[char]]
|
|
918
918
|
cwd: cstr
|
|
919
|
-
|
|
919
|
+
flags: uint
|
|
920
920
|
stdio_count: int
|
|
921
921
|
stdio: ptr[uv_stdio_container_t]
|
|
922
922
|
uid: uint
|
|
@@ -935,12 +935,12 @@ flags uv_process_flags: int
|
|
|
935
935
|
struct uv_process_s = c"uv_process_t":
|
|
936
936
|
data: ptr[void]
|
|
937
937
|
loop: ptr[uv_loop_t]
|
|
938
|
-
|
|
938
|
+
type: uv_handle_type
|
|
939
939
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
940
940
|
handle_queue: uv__queue
|
|
941
941
|
u: uv_process_s_u
|
|
942
942
|
next_closing: ptr[uv_handle_t]
|
|
943
|
-
|
|
943
|
+
flags: uint
|
|
944
944
|
exit_cb: fn(arg0: ptr[uv_process_t], arg1: long, arg2: int) -> void
|
|
945
945
|
pid: int
|
|
946
946
|
queue: uv__queue
|
|
@@ -953,7 +953,7 @@ external function uv_process_get_pid(arg0: const_ptr[uv_process_t]) -> uv_pid_t
|
|
|
953
953
|
|
|
954
954
|
struct uv_work_s = c"uv_work_t":
|
|
955
955
|
data: ptr[void]
|
|
956
|
-
|
|
956
|
+
type: uv_req_type
|
|
957
957
|
reserved: array[ptr[void], 6]
|
|
958
958
|
loop: ptr[uv_loop_t]
|
|
959
959
|
work_cb: fn(arg0: ptr[uv_work_t]) -> void
|
|
@@ -1023,7 +1023,7 @@ enum uv_dirent_type_t: int
|
|
|
1023
1023
|
|
|
1024
1024
|
struct uv_dirent_s = c"uv_dirent_t":
|
|
1025
1025
|
name: cstr
|
|
1026
|
-
|
|
1026
|
+
type: uv_dirent_type_t
|
|
1027
1027
|
|
|
1028
1028
|
external function uv_setup_args(argc: int, argv: ptr[ptr[char]]) -> ptr[ptr[char]]
|
|
1029
1029
|
external function uv_get_process_title(buffer: ptr[char], size: ptr_uint) -> int
|
|
@@ -1142,7 +1142,7 @@ struct uv_dir_s = c"uv_dir_t":
|
|
|
1142
1142
|
|
|
1143
1143
|
struct uv_fs_s = c"uv_fs_t":
|
|
1144
1144
|
data: ptr[void]
|
|
1145
|
-
|
|
1145
|
+
type: uv_req_type
|
|
1146
1146
|
reserved: array[ptr[void], 6]
|
|
1147
1147
|
fs_type: uv_fs_type
|
|
1148
1148
|
loop: ptr[uv_loop_t]?
|
|
@@ -1153,7 +1153,7 @@ struct uv_fs_s = c"uv_fs_t":
|
|
|
1153
1153
|
statbuf: uv_stat_t
|
|
1154
1154
|
new_path: cstr
|
|
1155
1155
|
file: int
|
|
1156
|
-
|
|
1156
|
+
flags: int
|
|
1157
1157
|
mode: uint
|
|
1158
1158
|
nbufs: uint
|
|
1159
1159
|
bufs: ptr[uv_buf_t]
|
|
@@ -1217,12 +1217,12 @@ flags uv_fs_event: int
|
|
|
1217
1217
|
struct uv_fs_event_s = c"uv_fs_event_t":
|
|
1218
1218
|
data: ptr[void]
|
|
1219
1219
|
loop: ptr[uv_loop_t]
|
|
1220
|
-
|
|
1220
|
+
type: uv_handle_type
|
|
1221
1221
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
1222
1222
|
handle_queue: uv__queue
|
|
1223
1223
|
u: uv_fs_event_s_u
|
|
1224
1224
|
next_closing: ptr[uv_handle_t]
|
|
1225
|
-
|
|
1225
|
+
flags: uint
|
|
1226
1226
|
path: ptr[char]
|
|
1227
1227
|
cb: fn(arg0: ptr[uv_fs_event_t], arg1: cstr, arg2: int, arg3: int) -> void
|
|
1228
1228
|
watchers: uv__queue
|
|
@@ -1231,12 +1231,12 @@ struct uv_fs_event_s = c"uv_fs_event_t":
|
|
|
1231
1231
|
struct uv_fs_poll_s = c"uv_fs_poll_t":
|
|
1232
1232
|
data: ptr[void]
|
|
1233
1233
|
loop: ptr[uv_loop_t]
|
|
1234
|
-
|
|
1234
|
+
type: uv_handle_type
|
|
1235
1235
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
1236
1236
|
handle_queue: uv__queue
|
|
1237
1237
|
u: uv_fs_poll_s_u
|
|
1238
1238
|
next_closing: ptr[uv_handle_t]
|
|
1239
|
-
|
|
1239
|
+
flags: uint
|
|
1240
1240
|
poll_ctx: ptr[void]
|
|
1241
1241
|
|
|
1242
1242
|
external function uv_fs_poll_init(loop: ptr[uv_loop_t], handle: ptr[uv_fs_poll_t]) -> int
|
|
@@ -1247,12 +1247,12 @@ external function uv_fs_poll_getpath(handle: ptr[uv_fs_poll_t], buffer: ptr[char
|
|
|
1247
1247
|
struct uv_signal_s = c"uv_signal_t":
|
|
1248
1248
|
data: ptr[void]
|
|
1249
1249
|
loop: ptr[uv_loop_t]
|
|
1250
|
-
|
|
1250
|
+
type: uv_handle_type
|
|
1251
1251
|
close_cb: fn(arg0: ptr[uv_handle_t]) -> void
|
|
1252
1252
|
handle_queue: uv__queue
|
|
1253
1253
|
u: uv_signal_s_u
|
|
1254
1254
|
next_closing: ptr[uv_handle_t]
|
|
1255
|
-
|
|
1255
|
+
flags: uint
|
|
1256
1256
|
signal_cb: fn(arg0: ptr[uv_signal_t], arg1: int) -> void
|
|
1257
1257
|
signum: int
|
|
1258
1258
|
tree_entry: uv_signal_s_tree_entry
|
|
@@ -1284,7 +1284,7 @@ external function uv_inet_pton(af: int, src: cstr, dst: ptr[void]) -> int
|
|
|
1284
1284
|
|
|
1285
1285
|
struct uv_random_s = c"uv_random_t":
|
|
1286
1286
|
data: ptr[void]
|
|
1287
|
-
|
|
1287
|
+
type: uv_req_type
|
|
1288
1288
|
reserved: array[ptr[void], 6]
|
|
1289
1289
|
loop: ptr[uv_loop_t]
|
|
1290
1290
|
status: int
|
|
@@ -1356,7 +1356,7 @@ flags uv_thread_create_flags: int
|
|
|
1356
1356
|
UV_THREAD_HAS_STACK_SIZE = 1
|
|
1357
1357
|
|
|
1358
1358
|
struct uv_thread_options_t:
|
|
1359
|
-
|
|
1359
|
+
flags: uint
|
|
1360
1360
|
stack_size: ptr_uint
|
|
1361
1361
|
|
|
1362
1362
|
external function uv_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
|
|
@@ -1370,7 +1370,7 @@ external function uv_thread_setname(name: cstr) -> int
|
|
|
1370
1370
|
external function uv_thread_getname(tid: ptr[uv_thread_t], name: ptr[char], size: ptr_uint) -> int
|
|
1371
1371
|
|
|
1372
1372
|
union uv_any_handle = c"union uv_any_handle":
|
|
1373
|
-
|
|
1373
|
+
async: uv_async_s
|
|
1374
1374
|
check: uv_check_s
|
|
1375
1375
|
fs_event: uv_fs_event_s
|
|
1376
1376
|
fs_poll: uv_fs_poll_s
|
|
@@ -1406,7 +1406,7 @@ struct uv_loop_s = c"uv_loop_t":
|
|
|
1406
1406
|
active_reqs: uv_loop_s_active_reqs
|
|
1407
1407
|
internal_fields: ptr[void]
|
|
1408
1408
|
stop_flag: uint
|
|
1409
|
-
|
|
1409
|
+
flags: ptr_uint
|
|
1410
1410
|
backend_fd: int
|
|
1411
1411
|
pending_queue: uv__queue
|
|
1412
1412
|
watcher_queue: uv__queue
|
data/std/c/miniaudio.mt
CHANGED
|
@@ -192,7 +192,7 @@ struct ma_device_info_nativeDataFormats:
|
|
|
192
192
|
format: ma_format
|
|
193
193
|
channels: uint
|
|
194
194
|
sampleRate: uint
|
|
195
|
-
|
|
195
|
+
flags: uint
|
|
196
196
|
|
|
197
197
|
union ma_context_command__wasapi_data:
|
|
198
198
|
quit: ma_context_command__wasapi_data_quit
|
|
@@ -446,7 +446,7 @@ struct ma_job_toc_breakup:
|
|
|
446
446
|
refcount: uint
|
|
447
447
|
|
|
448
448
|
struct ma_job_data_custom:
|
|
449
|
-
|
|
449
|
+
proc: fn(arg0: ptr[ma_job]) -> ma_result
|
|
450
450
|
data0: ulong
|
|
451
451
|
data1: ulong
|
|
452
452
|
|
|
@@ -532,7 +532,7 @@ struct ma_job_data_resourceManager_loadDataBufferNode:
|
|
|
532
532
|
pDataBufferNode: ptr[void]
|
|
533
533
|
pFilePath: ptr[char]
|
|
534
534
|
pFilePathW: ptr[int]
|
|
535
|
-
|
|
535
|
+
flags: uint
|
|
536
536
|
pInitNotification: ptr[ma_async_notification]
|
|
537
537
|
pDoneNotification: ptr[ma_async_notification]
|
|
538
538
|
pInitFence: ptr[ma_fence]
|
|
@@ -1640,7 +1640,7 @@ struct ma_data_source_vtable:
|
|
|
1640
1640
|
onGetCursor: fn(arg0: ptr[ma_data_source], arg1: ptr[ma_uint64]) -> ma_result
|
|
1641
1641
|
onGetLength: fn(arg0: ptr[ma_data_source], arg1: ptr[ma_uint64]) -> ma_result
|
|
1642
1642
|
onSetLooping: fn(arg0: ptr[ma_data_source], arg1: ma_bool32) -> ma_result
|
|
1643
|
-
|
|
1643
|
+
flags: uint
|
|
1644
1644
|
|
|
1645
1645
|
type ma_data_source_get_next_proc = fn(arg0: ptr[ma_data_source]) -> ptr[ma_data_source]
|
|
1646
1646
|
|
|
@@ -1952,13 +1952,13 @@ flags ma_job_queue_flags: int
|
|
|
1952
1952
|
MA_JOB_QUEUE_FLAG_NON_BLOCKING = 1
|
|
1953
1953
|
|
|
1954
1954
|
struct ma_job_queue_config:
|
|
1955
|
-
|
|
1955
|
+
flags: uint
|
|
1956
1956
|
capacity: uint
|
|
1957
1957
|
|
|
1958
1958
|
external function ma_job_queue_config_init(flags_: uint, capacity: uint) -> ma_job_queue_config
|
|
1959
1959
|
|
|
1960
1960
|
struct ma_job_queue:
|
|
1961
|
-
|
|
1961
|
+
flags: uint
|
|
1962
1962
|
capacity: uint
|
|
1963
1963
|
head: ulong
|
|
1964
1964
|
tail: ulong
|
|
@@ -2030,7 +2030,7 @@ enum ma_device_notification_type: int
|
|
|
2030
2030
|
|
|
2031
2031
|
struct ma_device_notification:
|
|
2032
2032
|
pDevice: ptr[ma_device]
|
|
2033
|
-
|
|
2033
|
+
type: ma_device_notification_type
|
|
2034
2034
|
data: ma_device_notification_data
|
|
2035
2035
|
|
|
2036
2036
|
type ma_device_notification_proc = fn(arg0: const_ptr[ma_device_notification]) -> void
|
|
@@ -2250,7 +2250,7 @@ struct ma_context:
|
|
|
2250
2250
|
|
|
2251
2251
|
struct ma_device:
|
|
2252
2252
|
pContext: ptr[ma_context]
|
|
2253
|
-
|
|
2253
|
+
type: ma_device_type
|
|
2254
2254
|
sampleRate: uint
|
|
2255
2255
|
state: ma_atomic_device_state
|
|
2256
2256
|
onData: fn(arg0: ptr[ma_device], arg1: ptr[void], arg2: const_ptr[void], arg3: ma_uint32) -> void
|
|
@@ -2520,7 +2520,7 @@ struct ma_waveform_config:
|
|
|
2520
2520
|
format: ma_format
|
|
2521
2521
|
channels: uint
|
|
2522
2522
|
sampleRate: uint
|
|
2523
|
-
|
|
2523
|
+
type: ma_waveform_type
|
|
2524
2524
|
amplitude: double
|
|
2525
2525
|
frequency: double
|
|
2526
2526
|
|
|
@@ -2572,7 +2572,7 @@ flags ma_noise_type: int
|
|
|
2572
2572
|
struct ma_noise_config:
|
|
2573
2573
|
format: ma_format
|
|
2574
2574
|
channels: uint
|
|
2575
|
-
|
|
2575
|
+
type: ma_noise_type
|
|
2576
2576
|
seed: int
|
|
2577
2577
|
amplitude: double
|
|
2578
2578
|
duplicateChannels: uint
|
|
@@ -2627,7 +2627,7 @@ struct ma_resource_manager_data_source_config:
|
|
|
2627
2627
|
rangeEndInPCMFrames: ulong
|
|
2628
2628
|
loopPointBegInPCMFrames: ulong
|
|
2629
2629
|
loopPointEndInPCMFrames: ulong
|
|
2630
|
-
|
|
2630
|
+
flags: uint
|
|
2631
2631
|
isLooping: uint
|
|
2632
2632
|
|
|
2633
2633
|
external function ma_resource_manager_data_source_config_init() -> ma_resource_manager_data_source_config
|
|
@@ -2639,7 +2639,7 @@ enum ma_resource_manager_data_supply_type: int
|
|
|
2639
2639
|
ma_resource_manager_data_supply_type_decoded_paged = 3
|
|
2640
2640
|
|
|
2641
2641
|
struct ma_resource_manager_data_supply:
|
|
2642
|
-
|
|
2642
|
+
type: ma_resource_manager_data_supply_type
|
|
2643
2643
|
backend: ma_resource_manager_data_supply_backend
|
|
2644
2644
|
|
|
2645
2645
|
struct ma_resource_manager_data_buffer_node:
|
|
@@ -2658,7 +2658,7 @@ struct ma_resource_manager_data_buffer:
|
|
|
2658
2658
|
ds: ma_data_source_base
|
|
2659
2659
|
pResourceManager: ptr[ma_resource_manager]
|
|
2660
2660
|
pNode: ptr[ma_resource_manager_data_buffer_node]
|
|
2661
|
-
|
|
2661
|
+
flags: uint
|
|
2662
2662
|
executionCounter: uint
|
|
2663
2663
|
executionPointer: uint
|
|
2664
2664
|
seekTargetInPCMFrames: ulong
|
|
@@ -2671,7 +2671,7 @@ struct ma_resource_manager_data_buffer:
|
|
|
2671
2671
|
struct ma_resource_manager_data_stream:
|
|
2672
2672
|
ds: ma_data_source_base
|
|
2673
2673
|
pResourceManager: ptr[ma_resource_manager]
|
|
2674
|
-
|
|
2674
|
+
flags: uint
|
|
2675
2675
|
decoder: ma_decoder
|
|
2676
2676
|
isDecoderInitialized: uint
|
|
2677
2677
|
totalLengthInPCMFrames: ulong
|
|
@@ -2690,7 +2690,7 @@ struct ma_resource_manager_data_stream:
|
|
|
2690
2690
|
|
|
2691
2691
|
struct ma_resource_manager_data_source:
|
|
2692
2692
|
backend: ma_resource_manager_data_source_backend
|
|
2693
|
-
|
|
2693
|
+
flags: uint
|
|
2694
2694
|
executionCounter: uint
|
|
2695
2695
|
executionPointer: uint
|
|
2696
2696
|
|
|
@@ -2703,7 +2703,7 @@ struct ma_resource_manager_config:
|
|
|
2703
2703
|
jobThreadCount: uint
|
|
2704
2704
|
jobThreadStackSize: ptr_uint
|
|
2705
2705
|
jobQueueCapacity: uint
|
|
2706
|
-
|
|
2706
|
+
flags: uint
|
|
2707
2707
|
pVFS: ptr[ma_vfs]
|
|
2708
2708
|
ppCustomDecodingBackendVTables: ptr[ptr[ma_decoding_backend_vtable]]
|
|
2709
2709
|
customDecodingBackendCount: uint
|
|
@@ -2803,7 +2803,7 @@ struct ma_node_vtable:
|
|
|
2803
2803
|
onGetRequiredInputFrameCount: fn(arg0: ptr[ma_node], arg1: ma_uint32, arg2: ptr[ma_uint32]) -> ma_result
|
|
2804
2804
|
inputBusCount: ubyte
|
|
2805
2805
|
outputBusCount: ubyte
|
|
2806
|
-
|
|
2806
|
+
flags: uint
|
|
2807
2807
|
|
|
2808
2808
|
struct ma_node_config:
|
|
2809
2809
|
vtable: const_ptr[ma_node_vtable]
|
|
@@ -2820,7 +2820,7 @@ struct ma_node_output_bus:
|
|
|
2820
2820
|
outputBusIndex: ubyte
|
|
2821
2821
|
channels: ubyte
|
|
2822
2822
|
inputNodeInputBusIndex: ubyte
|
|
2823
|
-
|
|
2823
|
+
flags: uint
|
|
2824
2824
|
refCount: uint
|
|
2825
2825
|
isAttached: uint
|
|
2826
2826
|
lock: uint
|
|
@@ -3078,7 +3078,7 @@ flags ma_engine_node_type: int
|
|
|
3078
3078
|
|
|
3079
3079
|
struct ma_engine_node_config:
|
|
3080
3080
|
pEngine: ptr[ma_engine]
|
|
3081
|
-
|
|
3081
|
+
type: ma_engine_node_type
|
|
3082
3082
|
channelsIn: uint
|
|
3083
3083
|
channelsOut: uint
|
|
3084
3084
|
sampleRate: uint
|
|
@@ -3129,7 +3129,7 @@ struct ma_sound_config:
|
|
|
3129
3129
|
channelsIn: uint
|
|
3130
3130
|
channelsOut: uint
|
|
3131
3131
|
monoExpansionMode: ma_mono_expansion_mode
|
|
3132
|
-
|
|
3132
|
+
flags: uint
|
|
3133
3133
|
volumeSmoothTimeInPCMFrames: uint
|
|
3134
3134
|
initialSeekPointInPCMFrames: ulong
|
|
3135
3135
|
rangeBegInPCMFrames: ulong
|
data/std/c/raygui.mt
CHANGED
data/std/c/raylib.mt
CHANGED
data/std/c/rpng.mt
CHANGED
data/std/c/rres.mt
CHANGED
|
@@ -11,11 +11,11 @@ struct rresFileHeader:
|
|
|
11
11
|
reserved: uint
|
|
12
12
|
|
|
13
13
|
struct rresResourceChunkInfo:
|
|
14
|
-
|
|
14
|
+
type: array[ubyte, 4]
|
|
15
15
|
id: uint
|
|
16
16
|
compType: ubyte
|
|
17
17
|
cipherType: ubyte
|
|
18
|
-
|
|
18
|
+
flags: ushort
|
|
19
19
|
packedSize: uint
|
|
20
20
|
baseSize: uint
|
|
21
21
|
nextOffset: uint
|