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/flecs.mt
ADDED
|
@@ -0,0 +1,978 @@
|
|
|
1
|
+
# generated by mtc imported-bindings from std.c.flecs using bindings/imported/flecs.binding.json
|
|
2
|
+
|
|
3
|
+
import std.c.flecs as c
|
|
4
|
+
|
|
5
|
+
public type ecs_iter_private_t_iter = c.ecs_iter_private_t_iter
|
|
6
|
+
public type ecs_world_info_t_cmd = c.ecs_world_info_t_cmd
|
|
7
|
+
public type ecs_world_stats_t_entities = c.ecs_world_stats_t_entities
|
|
8
|
+
public type ecs_world_stats_t_components = c.ecs_world_stats_t_components
|
|
9
|
+
public type ecs_world_stats_t_tables = c.ecs_world_stats_t_tables
|
|
10
|
+
public type ecs_world_stats_t_queries = c.ecs_world_stats_t_queries
|
|
11
|
+
public type ecs_world_stats_t_commands = c.ecs_world_stats_t_commands
|
|
12
|
+
public type ecs_world_stats_t_frame = c.ecs_world_stats_t_frame
|
|
13
|
+
public type ecs_world_stats_t_performance = c.ecs_world_stats_t_performance
|
|
14
|
+
public type ecs_world_stats_t_memory = c.ecs_world_stats_t_memory
|
|
15
|
+
public type ecs_world_stats_t_http = c.ecs_world_stats_t_http
|
|
16
|
+
public type ecs_meta_op_t_is = c.ecs_meta_op_t_is
|
|
17
|
+
public type ecs_event_id_record_t = c.ecs_event_id_record_t
|
|
18
|
+
public type ecs_query_var_t = c.ecs_query_var_t
|
|
19
|
+
public type ecs_query_op_t = c.ecs_query_op_t
|
|
20
|
+
public type ecs_query_op_ctx_t = c.ecs_query_op_ctx_t
|
|
21
|
+
public type va_list = c.va_list
|
|
22
|
+
public type ecs_flags8_t = c.ecs_flags8_t
|
|
23
|
+
public type ecs_flags16_t = c.ecs_flags16_t
|
|
24
|
+
public type ecs_flags32_t = c.ecs_flags32_t
|
|
25
|
+
public type ecs_flags64_t = c.ecs_flags64_t
|
|
26
|
+
public type ecs_size_t = c.ecs_size_t
|
|
27
|
+
public type ecs_id_t = c.ecs_id_t
|
|
28
|
+
public type ecs_entity_t = c.ecs_entity_t
|
|
29
|
+
public type ecs_type_t = c.ecs_type_t
|
|
30
|
+
public type ecs_world_t = c.ecs_world_t
|
|
31
|
+
public type ecs_stage_t = c.ecs_stage_t
|
|
32
|
+
public type ecs_table_t = c.ecs_table_t
|
|
33
|
+
public type ecs_component_record_t = c.ecs_component_record_t
|
|
34
|
+
public type ecs_poly_t = c.ecs_poly_t
|
|
35
|
+
public type ecs_mixins_t = c.ecs_mixins_t
|
|
36
|
+
public type ecs_header_t = c.ecs_header_t
|
|
37
|
+
public type ecs_vec_t = c.ecs_vec_t
|
|
38
|
+
public type ecs_sparse_page_t = c.ecs_sparse_page_t
|
|
39
|
+
public type ecs_sparse_t = c.ecs_sparse_t
|
|
40
|
+
public type ecs_block_allocator_block_t = c.ecs_block_allocator_block_t
|
|
41
|
+
public type ecs_block_allocator_chunk_header_t = c.ecs_block_allocator_chunk_header_t
|
|
42
|
+
public type ecs_block_allocator_t = c.ecs_block_allocator_t
|
|
43
|
+
public type ecs_stack_page_t = c.ecs_stack_page_t
|
|
44
|
+
public type ecs_stack_cursor_t = c.ecs_stack_cursor_t
|
|
45
|
+
public type ecs_stack_t = c.ecs_stack_t
|
|
46
|
+
public type ecs_map_data_t = c.ecs_map_data_t
|
|
47
|
+
public type ecs_map_key_t = c.ecs_map_key_t
|
|
48
|
+
public type ecs_map_val_t = c.ecs_map_val_t
|
|
49
|
+
public type ecs_bucket_entry_t = c.ecs_bucket_entry_t
|
|
50
|
+
public type ecs_bucket_t = c.ecs_bucket_t
|
|
51
|
+
public type ecs_map_t = c.ecs_map_t
|
|
52
|
+
public type ecs_map_iter_t = c.ecs_map_iter_t
|
|
53
|
+
public type ecs_allocator_t = c.ecs_allocator_t
|
|
54
|
+
public type ecs_strbuf_list_elem = c.ecs_strbuf_list_elem
|
|
55
|
+
public type ecs_strbuf_t = c.ecs_strbuf_t
|
|
56
|
+
public type ecs_time_t = c.ecs_time_t
|
|
57
|
+
public type ecs_os_thread_t = c.ecs_os_thread_t
|
|
58
|
+
public type ecs_os_cond_t = c.ecs_os_cond_t
|
|
59
|
+
public type ecs_os_mutex_t = c.ecs_os_mutex_t
|
|
60
|
+
public type ecs_os_dl_t = c.ecs_os_dl_t
|
|
61
|
+
public type ecs_os_sock_t = c.ecs_os_sock_t
|
|
62
|
+
public type ecs_os_thread_id_t = c.ecs_os_thread_id_t
|
|
63
|
+
public type ecs_os_proc_t = c.ecs_os_proc_t
|
|
64
|
+
public type ecs_os_api_init_t = c.ecs_os_api_init_t
|
|
65
|
+
public type ecs_os_api_fini_t = c.ecs_os_api_fini_t
|
|
66
|
+
public type ecs_os_api_malloc_t = c.ecs_os_api_malloc_t
|
|
67
|
+
public type ecs_os_api_free_t = c.ecs_os_api_free_t
|
|
68
|
+
public type ecs_os_api_realloc_t = c.ecs_os_api_realloc_t
|
|
69
|
+
public type ecs_os_api_calloc_t = c.ecs_os_api_calloc_t
|
|
70
|
+
public type ecs_os_api_strdup_t = c.ecs_os_api_strdup_t
|
|
71
|
+
public type ecs_os_thread_callback_t = c.ecs_os_thread_callback_t
|
|
72
|
+
public type ecs_os_api_thread_new_t = c.ecs_os_api_thread_new_t
|
|
73
|
+
public type ecs_os_api_thread_join_t = c.ecs_os_api_thread_join_t
|
|
74
|
+
public type ecs_os_api_thread_self_t = c.ecs_os_api_thread_self_t
|
|
75
|
+
public type ecs_os_api_task_new_t = c.ecs_os_api_task_new_t
|
|
76
|
+
public type ecs_os_api_task_join_t = c.ecs_os_api_task_join_t
|
|
77
|
+
public type ecs_os_api_ainc_t = c.ecs_os_api_ainc_t
|
|
78
|
+
public type ecs_os_api_lainc_t = c.ecs_os_api_lainc_t
|
|
79
|
+
public type ecs_os_api_mutex_new_t = c.ecs_os_api_mutex_new_t
|
|
80
|
+
public type ecs_os_api_mutex_lock_t = c.ecs_os_api_mutex_lock_t
|
|
81
|
+
public type ecs_os_api_mutex_unlock_t = c.ecs_os_api_mutex_unlock_t
|
|
82
|
+
public type ecs_os_api_mutex_free_t = c.ecs_os_api_mutex_free_t
|
|
83
|
+
public type ecs_os_api_cond_new_t = c.ecs_os_api_cond_new_t
|
|
84
|
+
public type ecs_os_api_cond_free_t = c.ecs_os_api_cond_free_t
|
|
85
|
+
public type ecs_os_api_cond_signal_t = c.ecs_os_api_cond_signal_t
|
|
86
|
+
public type ecs_os_api_cond_broadcast_t = c.ecs_os_api_cond_broadcast_t
|
|
87
|
+
public type ecs_os_api_cond_wait_t = c.ecs_os_api_cond_wait_t
|
|
88
|
+
public type ecs_os_api_sleep_t = c.ecs_os_api_sleep_t
|
|
89
|
+
public type ecs_os_api_enable_high_timer_resolution_t = c.ecs_os_api_enable_high_timer_resolution_t
|
|
90
|
+
public type ecs_os_api_get_time_t = c.ecs_os_api_get_time_t
|
|
91
|
+
public type ecs_os_api_now_t = c.ecs_os_api_now_t
|
|
92
|
+
public type ecs_os_api_log_t = c.ecs_os_api_log_t
|
|
93
|
+
public type ecs_os_api_abort_t = c.ecs_os_api_abort_t
|
|
94
|
+
public type ecs_os_api_dlopen_t = c.ecs_os_api_dlopen_t
|
|
95
|
+
public type ecs_os_api_dlproc_t = c.ecs_os_api_dlproc_t
|
|
96
|
+
public type ecs_os_api_dlclose_t = c.ecs_os_api_dlclose_t
|
|
97
|
+
public type ecs_os_api_module_to_path_t = c.ecs_os_api_module_to_path_t
|
|
98
|
+
public type ecs_os_api_fopen_t = c.ecs_os_api_fopen_t
|
|
99
|
+
public type ecs_os_api_fclose_t = c.ecs_os_api_fclose_t
|
|
100
|
+
public type ecs_os_api_perf_trace_t = c.ecs_os_api_perf_trace_t
|
|
101
|
+
public type ecs_os_api_t = c.ecs_os_api_t
|
|
102
|
+
public type ecs_run_action_t = c.ecs_run_action_t
|
|
103
|
+
public type ecs_iter_action_t = c.ecs_iter_action_t
|
|
104
|
+
public type ecs_iter_next_action_t = c.ecs_iter_next_action_t
|
|
105
|
+
public type ecs_iter_fini_action_t = c.ecs_iter_fini_action_t
|
|
106
|
+
public type ecs_order_by_action_t = c.ecs_order_by_action_t
|
|
107
|
+
public type ecs_sort_table_action_t = c.ecs_sort_table_action_t
|
|
108
|
+
public type ecs_group_by_action_t = c.ecs_group_by_action_t
|
|
109
|
+
public type ecs_group_create_action_t = c.ecs_group_create_action_t
|
|
110
|
+
public type ecs_group_delete_action_t = c.ecs_group_delete_action_t
|
|
111
|
+
public type ecs_module_action_t = c.ecs_module_action_t
|
|
112
|
+
public type ecs_fini_action_t = c.ecs_fini_action_t
|
|
113
|
+
public type ecs_ctx_free_t = c.ecs_ctx_free_t
|
|
114
|
+
public type ecs_compare_action_t = c.ecs_compare_action_t
|
|
115
|
+
public type ecs_hash_value_action_t = c.ecs_hash_value_action_t
|
|
116
|
+
public type ecs_xtor_t = c.ecs_xtor_t
|
|
117
|
+
public type ecs_copy_t = c.ecs_copy_t
|
|
118
|
+
public type ecs_move_t = c.ecs_move_t
|
|
119
|
+
public type ecs_cmp_t = c.ecs_cmp_t
|
|
120
|
+
public type ecs_equals_t = c.ecs_equals_t
|
|
121
|
+
public type ecs_inout_kind_t = c.ecs_inout_kind_t
|
|
122
|
+
public type ecs_oper_kind_t = c.ecs_oper_kind_t
|
|
123
|
+
public type ecs_query_cache_kind_t = c.ecs_query_cache_kind_t
|
|
124
|
+
public type ecs_term_ref_t = c.ecs_term_ref_t
|
|
125
|
+
public type ecs_term_t = c.ecs_term_t
|
|
126
|
+
public type ecs_query_t = c.ecs_query_t
|
|
127
|
+
public type ecs_observer_t = c.ecs_observer_t
|
|
128
|
+
public type ecs_type_hooks_t = c.ecs_type_hooks_t
|
|
129
|
+
public type ecs_type_info_t = c.ecs_type_info_t
|
|
130
|
+
public type ecs_data_t = c.ecs_data_t
|
|
131
|
+
public type ecs_query_cache_match_t = c.ecs_query_cache_match_t
|
|
132
|
+
public type ecs_query_cache_group_t = c.ecs_query_cache_group_t
|
|
133
|
+
public type ecs_event_record_t = c.ecs_event_record_t
|
|
134
|
+
public type ecs_observable_t = c.ecs_observable_t
|
|
135
|
+
public type ecs_table_range_t = c.ecs_table_range_t
|
|
136
|
+
public type ecs_var_t = c.ecs_var_t
|
|
137
|
+
public type ecs_ref_t = c.ecs_ref_t
|
|
138
|
+
public type ecs_page_iter_t = c.ecs_page_iter_t
|
|
139
|
+
public type ecs_worker_iter_t = c.ecs_worker_iter_t
|
|
140
|
+
public type ecs_table_cache_iter_t = c.ecs_table_cache_iter_t
|
|
141
|
+
public type ecs_each_iter_t = c.ecs_each_iter_t
|
|
142
|
+
public type ecs_query_op_profile_t = c.ecs_query_op_profile_t
|
|
143
|
+
public type ecs_query_iter_t = c.ecs_query_iter_t
|
|
144
|
+
public type ecs_iter_private_t = c.ecs_iter_private_t
|
|
145
|
+
public type ecs_commands_t = c.ecs_commands_t
|
|
146
|
+
public type ecs_suspend_readonly_state_t = c.ecs_suspend_readonly_state_t
|
|
147
|
+
public type ecs_hm_bucket_t = c.ecs_hm_bucket_t
|
|
148
|
+
public type ecs_hashmap_t = c.ecs_hashmap_t
|
|
149
|
+
public type ecs_record_t = c.ecs_record_t
|
|
150
|
+
public type ecs_table_cache_hdr_t = c.ecs_table_cache_hdr_t
|
|
151
|
+
public type ecs_table_record_t = c.ecs_table_record_t
|
|
152
|
+
public type ecs_table_diff_t = c.ecs_table_diff_t
|
|
153
|
+
public type ecs_parent_record_t = c.ecs_parent_record_t
|
|
154
|
+
public type ecs_table_records_t = c.ecs_table_records_t
|
|
155
|
+
public type ecs_value_t = c.ecs_value_t
|
|
156
|
+
public type ecs_entity_desc_t = c.ecs_entity_desc_t
|
|
157
|
+
public type ecs_bulk_desc_t = c.ecs_bulk_desc_t
|
|
158
|
+
public type ecs_component_desc_t = c.ecs_component_desc_t
|
|
159
|
+
public type ecs_iter_t = c.ecs_iter_t
|
|
160
|
+
public type ecs_query_desc_t = c.ecs_query_desc_t
|
|
161
|
+
public type ecs_observer_desc_t = c.ecs_observer_desc_t
|
|
162
|
+
public type ecs_event_desc_t = c.ecs_event_desc_t
|
|
163
|
+
public type ecs_build_info_t = c.ecs_build_info_t
|
|
164
|
+
public type ecs_world_info_t = c.ecs_world_info_t
|
|
165
|
+
public type ecs_query_group_info_t = c.ecs_query_group_info_t
|
|
166
|
+
public type ecs_entity_range_t = c.ecs_entity_range_t
|
|
167
|
+
public type EcsIdentifier = c.EcsIdentifier
|
|
168
|
+
public type EcsComponent = c.EcsComponent
|
|
169
|
+
public type EcsPoly = c.EcsPoly
|
|
170
|
+
public type EcsDefaultChildComponent = c.EcsDefaultChildComponent
|
|
171
|
+
public type EcsParent = c.EcsParent
|
|
172
|
+
public type ecs_tree_spawner_child_t = c.ecs_tree_spawner_child_t
|
|
173
|
+
public type ecs_tree_spawner_t = c.ecs_tree_spawner_t
|
|
174
|
+
public type EcsTreeSpawner = c.EcsTreeSpawner
|
|
175
|
+
public type ecs_entities_t = c.ecs_entities_t
|
|
176
|
+
public type ecs_delete_empty_tables_desc_t = c.ecs_delete_empty_tables_desc_t
|
|
177
|
+
public type ecs_query_count_t = c.ecs_query_count_t
|
|
178
|
+
public type ecs_app_init_action_t = c.ecs_app_init_action_t
|
|
179
|
+
public type ecs_app_desc_t = c.ecs_app_desc_t
|
|
180
|
+
public type ecs_app_run_action_t = c.ecs_app_run_action_t
|
|
181
|
+
public type ecs_app_frame_action_t = c.ecs_app_frame_action_t
|
|
182
|
+
public type ecs_http_server_t = c.ecs_http_server_t
|
|
183
|
+
public type ecs_http_connection_t = c.ecs_http_connection_t
|
|
184
|
+
public type ecs_http_key_value_t = c.ecs_http_key_value_t
|
|
185
|
+
public type ecs_http_method_t = c.ecs_http_method_t
|
|
186
|
+
public type ecs_http_request_t = c.ecs_http_request_t
|
|
187
|
+
public type ecs_http_reply_t = c.ecs_http_reply_t
|
|
188
|
+
public type ecs_http_reply_action_t = c.ecs_http_reply_action_t
|
|
189
|
+
public type ecs_http_server_desc_t = c.ecs_http_server_desc_t
|
|
190
|
+
public type ecs_rest_ctx_t = c.ecs_rest_ctx_t
|
|
191
|
+
public type EcsRest = c.EcsRest
|
|
192
|
+
public type EcsTimer = c.EcsTimer
|
|
193
|
+
public type EcsRateFilter = c.EcsRateFilter
|
|
194
|
+
public type ecs_pipeline_desc_t = c.ecs_pipeline_desc_t
|
|
195
|
+
public type EcsTickSource = c.EcsTickSource
|
|
196
|
+
public type ecs_system_desc_t = c.ecs_system_desc_t
|
|
197
|
+
public type ecs_system_t = c.ecs_system_t
|
|
198
|
+
public type ecs_gauge_t = c.ecs_gauge_t
|
|
199
|
+
public type ecs_counter_t = c.ecs_counter_t
|
|
200
|
+
public type ecs_metric_t = c.ecs_metric_t
|
|
201
|
+
public type ecs_world_stats_t = c.ecs_world_stats_t
|
|
202
|
+
public type ecs_query_stats_t = c.ecs_query_stats_t
|
|
203
|
+
public type ecs_system_stats_t = c.ecs_system_stats_t
|
|
204
|
+
public type ecs_sync_stats_t = c.ecs_sync_stats_t
|
|
205
|
+
public type ecs_pipeline_stats_t = c.ecs_pipeline_stats_t
|
|
206
|
+
public type EcsStatsHeader = c.EcsStatsHeader
|
|
207
|
+
public type EcsWorldStats = c.EcsWorldStats
|
|
208
|
+
public type EcsSystemStats = c.EcsSystemStats
|
|
209
|
+
public type EcsPipelineStats = c.EcsPipelineStats
|
|
210
|
+
public type EcsWorldSummary = c.EcsWorldSummary
|
|
211
|
+
public type ecs_entities_memory_t = c.ecs_entities_memory_t
|
|
212
|
+
public type ecs_component_memory_t = c.ecs_component_memory_t
|
|
213
|
+
public type ecs_component_index_memory_t = c.ecs_component_index_memory_t
|
|
214
|
+
public type ecs_query_memory_t = c.ecs_query_memory_t
|
|
215
|
+
public type ecs_table_memory_t = c.ecs_table_memory_t
|
|
216
|
+
public type ecs_table_histogram_t = c.ecs_table_histogram_t
|
|
217
|
+
public type ecs_misc_memory_t = c.ecs_misc_memory_t
|
|
218
|
+
public type ecs_allocator_memory_t = c.ecs_allocator_memory_t
|
|
219
|
+
public type EcsWorldMemory = c.EcsWorldMemory
|
|
220
|
+
public type EcsMetricValue = c.EcsMetricValue
|
|
221
|
+
public type EcsMetricSource = c.EcsMetricSource
|
|
222
|
+
public type ecs_metric_desc_t = c.ecs_metric_desc_t
|
|
223
|
+
public type EcsAlertInstance = c.EcsAlertInstance
|
|
224
|
+
public type EcsAlertsActive = c.EcsAlertsActive
|
|
225
|
+
public type ecs_alert_severity_filter_t = c.ecs_alert_severity_filter_t
|
|
226
|
+
public type ecs_alert_desc_t = c.ecs_alert_desc_t
|
|
227
|
+
public type ecs_from_json_desc_t = c.ecs_from_json_desc_t
|
|
228
|
+
public type ecs_entity_to_json_desc_t = c.ecs_entity_to_json_desc_t
|
|
229
|
+
public type ecs_iter_to_json_desc_t = c.ecs_iter_to_json_desc_t
|
|
230
|
+
public type ecs_world_to_json_desc_t = c.ecs_world_to_json_desc_t
|
|
231
|
+
public type ecs_script_template_t = c.ecs_script_template_t
|
|
232
|
+
public type ecs_script_var_t = c.ecs_script_var_t
|
|
233
|
+
public type ecs_script_vars_t = c.ecs_script_vars_t
|
|
234
|
+
public type ecs_script_t = c.ecs_script_t
|
|
235
|
+
public type ecs_script_runtime_t = c.ecs_script_runtime_t
|
|
236
|
+
public type EcsScript = c.EcsScript
|
|
237
|
+
public type ecs_function_ctx_t = c.ecs_function_ctx_t
|
|
238
|
+
public type ecs_function_callback_t = c.ecs_function_callback_t
|
|
239
|
+
public type ecs_vector_function_callback_t = c.ecs_vector_function_callback_t
|
|
240
|
+
public type ecs_script_parameter_t = c.ecs_script_parameter_t
|
|
241
|
+
public type EcsScriptConstVar = c.EcsScriptConstVar
|
|
242
|
+
public type EcsScriptMethod = c.EcsScriptMethod
|
|
243
|
+
public type EcsScriptFunction = c.EcsScriptFunction
|
|
244
|
+
public type ecs_script_eval_desc_t = c.ecs_script_eval_desc_t
|
|
245
|
+
public type ecs_script_eval_result_t = c.ecs_script_eval_result_t
|
|
246
|
+
public type ecs_script_desc_t = c.ecs_script_desc_t
|
|
247
|
+
public type ecs_expr_eval_desc_t = c.ecs_expr_eval_desc_t
|
|
248
|
+
public type ecs_const_var_desc_t = c.ecs_const_var_desc_t
|
|
249
|
+
public type ecs_vector_fn_callbacks_t = c.ecs_vector_fn_callbacks_t
|
|
250
|
+
public type ecs_function_desc_t = c.ecs_function_desc_t
|
|
251
|
+
public type ecs_expr_node_t = c.ecs_expr_node_t
|
|
252
|
+
public type EcsDocDescription = c.EcsDocDescription
|
|
253
|
+
public type ecs_bool_t = c.ecs_bool_t
|
|
254
|
+
public type ecs_char_t = c.ecs_char_t
|
|
255
|
+
public type ecs_byte_t = c.ecs_byte_t
|
|
256
|
+
public type ecs_u8_t = c.ecs_u8_t
|
|
257
|
+
public type ecs_u16_t = c.ecs_u16_t
|
|
258
|
+
public type ecs_u32_t = c.ecs_u32_t
|
|
259
|
+
public type ecs_u64_t = c.ecs_u64_t
|
|
260
|
+
public type ecs_uptr_t = c.ecs_uptr_t
|
|
261
|
+
public type ecs_i8_t = c.ecs_i8_t
|
|
262
|
+
public type ecs_i16_t = c.ecs_i16_t
|
|
263
|
+
public type ecs_i32_t = c.ecs_i32_t
|
|
264
|
+
public type ecs_i64_t = c.ecs_i64_t
|
|
265
|
+
public type ecs_iptr_t = c.ecs_iptr_t
|
|
266
|
+
public type ecs_f32_t = c.ecs_f32_t
|
|
267
|
+
public type ecs_f64_t = c.ecs_f64_t
|
|
268
|
+
public type ecs_string_t = c.ecs_string_t
|
|
269
|
+
public type ecs_type_kind_t = c.ecs_type_kind_t
|
|
270
|
+
public type EcsType = c.EcsType
|
|
271
|
+
public type ecs_primitive_kind_t = c.ecs_primitive_kind_t
|
|
272
|
+
public type EcsPrimitive = c.EcsPrimitive
|
|
273
|
+
public type EcsMember = c.EcsMember
|
|
274
|
+
public type ecs_member_value_range_t = c.ecs_member_value_range_t
|
|
275
|
+
public type EcsMemberRanges = c.EcsMemberRanges
|
|
276
|
+
public type ecs_member_t = c.ecs_member_t
|
|
277
|
+
public type EcsStruct = c.EcsStruct
|
|
278
|
+
public type ecs_enum_constant_t = c.ecs_enum_constant_t
|
|
279
|
+
public type EcsEnum = c.EcsEnum
|
|
280
|
+
public type ecs_bitmask_constant_t = c.ecs_bitmask_constant_t
|
|
281
|
+
public type EcsBitmask = c.EcsBitmask
|
|
282
|
+
public type EcsConstants = c.EcsConstants
|
|
283
|
+
public type EcsArray = c.EcsArray
|
|
284
|
+
public type EcsVector = c.EcsVector
|
|
285
|
+
public type ecs_serializer_t = c.ecs_serializer_t
|
|
286
|
+
public type ecs_meta_serialize_t = c.ecs_meta_serialize_t
|
|
287
|
+
public type ecs_meta_serialize_member_t = c.ecs_meta_serialize_member_t
|
|
288
|
+
public type ecs_meta_serialize_element_t = c.ecs_meta_serialize_element_t
|
|
289
|
+
public type EcsOpaque = c.EcsOpaque
|
|
290
|
+
public type ecs_unit_translation_t = c.ecs_unit_translation_t
|
|
291
|
+
public type EcsUnit = c.EcsUnit
|
|
292
|
+
public type EcsUnitPrefix = c.EcsUnitPrefix
|
|
293
|
+
public type ecs_meta_op_kind_t = c.ecs_meta_op_kind_t
|
|
294
|
+
public type ecs_meta_op_t = c.ecs_meta_op_t
|
|
295
|
+
public type EcsTypeSerializer = c.EcsTypeSerializer
|
|
296
|
+
public type ecs_meta_scope_t = c.ecs_meta_scope_t
|
|
297
|
+
public type ecs_meta_cursor_t = c.ecs_meta_cursor_t
|
|
298
|
+
public type ecs_primitive_desc_t = c.ecs_primitive_desc_t
|
|
299
|
+
public type ecs_enum_desc_t = c.ecs_enum_desc_t
|
|
300
|
+
public type ecs_bitmask_desc_t = c.ecs_bitmask_desc_t
|
|
301
|
+
public type ecs_array_desc_t = c.ecs_array_desc_t
|
|
302
|
+
public type ecs_vector_desc_t = c.ecs_vector_desc_t
|
|
303
|
+
public type ecs_struct_desc_t = c.ecs_struct_desc_t
|
|
304
|
+
public type ecs_opaque_desc_t = c.ecs_opaque_desc_t
|
|
305
|
+
public type ecs_unit_desc_t = c.ecs_unit_desc_t
|
|
306
|
+
public type ecs_unit_prefix_desc_t = c.ecs_unit_prefix_desc_t
|
|
307
|
+
public type ecs_cpp_type_action_t = c.ecs_cpp_type_action_t
|
|
308
|
+
public type ecs_cpp_component_desc_t = c.ecs_cpp_component_desc_t
|
|
309
|
+
public type ecs_cpp_get_mut_t = c.ecs_cpp_get_mut_t
|
|
310
|
+
|
|
311
|
+
public const VERSION_MAJOR: int = c.FLECS_VERSION_MAJOR
|
|
312
|
+
public const VERSION_MINOR: int = c.FLECS_VERSION_MINOR
|
|
313
|
+
public const VERSION_PATCH: int = c.FLECS_VERSION_PATCH
|
|
314
|
+
public const VERSION: cstr = c.FLECS_VERSION
|
|
315
|
+
public const HI_COMPONENT_ID: int = c.FLECS_HI_COMPONENT_ID
|
|
316
|
+
public const HI_ID_RECORD_ID: int = c.FLECS_HI_ID_RECORD_ID
|
|
317
|
+
public const SPARSE_PAGE_BITS: int = c.FLECS_SPARSE_PAGE_BITS
|
|
318
|
+
public const ENTITY_PAGE_BITS: int = c.FLECS_ENTITY_PAGE_BITS
|
|
319
|
+
public const ID_DESC_MAX: int = c.FLECS_ID_DESC_MAX
|
|
320
|
+
public const EVENT_DESC_MAX: int = c.FLECS_EVENT_DESC_MAX
|
|
321
|
+
public const VARIABLE_COUNT_MAX: int = c.FLECS_VARIABLE_COUNT_MAX
|
|
322
|
+
public const TERM_COUNT_MAX: int = c.FLECS_TERM_COUNT_MAX
|
|
323
|
+
public const TERM_ARG_COUNT_MAX: int = c.FLECS_TERM_ARG_COUNT_MAX
|
|
324
|
+
public const QUERY_VARIABLE_COUNT_MAX: int = c.FLECS_QUERY_VARIABLE_COUNT_MAX
|
|
325
|
+
public const QUERY_SCOPE_NESTING_MAX: int = c.FLECS_QUERY_SCOPE_NESTING_MAX
|
|
326
|
+
public const DAG_DEPTH_MAX: int = c.FLECS_DAG_DEPTH_MAX
|
|
327
|
+
public const TREE_SPAWNER_DEPTH_CACHE_SIZE: int = c.FLECS_TREE_SPAWNER_DEPTH_CACHE_SIZE
|
|
328
|
+
public const ROW_MASK: uint = c.ECS_ROW_MASK
|
|
329
|
+
public const ROW_FLAGS_MASK: uint = c.ECS_ROW_FLAGS_MASK
|
|
330
|
+
public const ENTITY_MASK: ulong = c.ECS_ENTITY_MASK
|
|
331
|
+
public const STRBUF_INIT: ecs_strbuf_t = c.ECS_STRBUF_INIT
|
|
332
|
+
public const STRBUF_SMALL_STRING_SIZE: int = c.ECS_STRBUF_SMALL_STRING_SIZE
|
|
333
|
+
public const STRBUF_MAX_LIST_DEPTH: int = c.ECS_STRBUF_MAX_LIST_DEPTH
|
|
334
|
+
public const MAX_RECURSION: int = c.ECS_MAX_RECURSION
|
|
335
|
+
public const MAX_TOKEN_SIZE: int = c.ECS_MAX_TOKEN_SIZE
|
|
336
|
+
public const INVALID_OPERATION: int = c.ECS_INVALID_OPERATION
|
|
337
|
+
public const INVALID_PARAMETER: int = c.ECS_INVALID_PARAMETER
|
|
338
|
+
public const CONSTRAINT_VIOLATED: int = c.ECS_CONSTRAINT_VIOLATED
|
|
339
|
+
public const OUT_OF_MEMORY: int = c.ECS_OUT_OF_MEMORY
|
|
340
|
+
public const OUT_OF_RANGE: int = c.ECS_OUT_OF_RANGE
|
|
341
|
+
public const UNSUPPORTED: int = c.ECS_UNSUPPORTED
|
|
342
|
+
public const INTERNAL_ERROR: int = c.ECS_INTERNAL_ERROR
|
|
343
|
+
public const ALREADY_DEFINED: int = c.ECS_ALREADY_DEFINED
|
|
344
|
+
public const MISSING_OS_API: int = c.ECS_MISSING_OS_API
|
|
345
|
+
public const OPERATION_FAILED: int = c.ECS_OPERATION_FAILED
|
|
346
|
+
public const INVALID_CONVERSION: int = c.ECS_INVALID_CONVERSION
|
|
347
|
+
public const CYCLE_DETECTED: int = c.ECS_CYCLE_DETECTED
|
|
348
|
+
public const LEAK_DETECTED: int = c.ECS_LEAK_DETECTED
|
|
349
|
+
public const DOUBLE_FREE: int = c.ECS_DOUBLE_FREE
|
|
350
|
+
public const INCONSISTENT_NAME: int = c.ECS_INCONSISTENT_NAME
|
|
351
|
+
public const NAME_IN_USE: int = c.ECS_NAME_IN_USE
|
|
352
|
+
public const INVALID_COMPONENT_SIZE: int = c.ECS_INVALID_COMPONENT_SIZE
|
|
353
|
+
public const INVALID_COMPONENT_ALIGNMENT: int = c.ECS_INVALID_COMPONENT_ALIGNMENT
|
|
354
|
+
public const COMPONENT_NOT_REGISTERED: int = c.ECS_COMPONENT_NOT_REGISTERED
|
|
355
|
+
public const INCONSISTENT_COMPONENT_ID: int = c.ECS_INCONSISTENT_COMPONENT_ID
|
|
356
|
+
public const INCONSISTENT_COMPONENT_ACTION: int = c.ECS_INCONSISTENT_COMPONENT_ACTION
|
|
357
|
+
public const MODULE_UNDEFINED: int = c.ECS_MODULE_UNDEFINED
|
|
358
|
+
public const MISSING_SYMBOL: int = c.ECS_MISSING_SYMBOL
|
|
359
|
+
public const ALREADY_IN_USE: int = c.ECS_ALREADY_IN_USE
|
|
360
|
+
public const ACCESS_VIOLATION: int = c.ECS_ACCESS_VIOLATION
|
|
361
|
+
public const COLUMN_INDEX_OUT_OF_RANGE: int = c.ECS_COLUMN_INDEX_OUT_OF_RANGE
|
|
362
|
+
public const COLUMN_IS_NOT_SHARED: int = c.ECS_COLUMN_IS_NOT_SHARED
|
|
363
|
+
public const COLUMN_IS_SHARED: int = c.ECS_COLUMN_IS_SHARED
|
|
364
|
+
public const COLUMN_TYPE_MISMATCH: int = c.ECS_COLUMN_TYPE_MISMATCH
|
|
365
|
+
public const INVALID_WHILE_READONLY: int = c.ECS_INVALID_WHILE_READONLY
|
|
366
|
+
public const LOCKED_STORAGE: int = c.ECS_LOCKED_STORAGE
|
|
367
|
+
public const INVALID_FROM_WORKER: int = c.ECS_INVALID_FROM_WORKER
|
|
368
|
+
public const HTTP_HEADER_COUNT_MAX: int = c.ECS_HTTP_HEADER_COUNT_MAX
|
|
369
|
+
public const HTTP_QUERY_PARAM_COUNT_MAX: int = c.ECS_HTTP_QUERY_PARAM_COUNT_MAX
|
|
370
|
+
public const REST_DEFAULT_PORT: int = c.ECS_REST_DEFAULT_PORT
|
|
371
|
+
public const STAT_WINDOW: int = c.ECS_STAT_WINDOW
|
|
372
|
+
public const TABLE_MEMORY_HISTOGRAM_BUCKET_COUNT: int = c.ECS_TABLE_MEMORY_HISTOGRAM_BUCKET_COUNT
|
|
373
|
+
public const ALERT_MAX_SEVERITY_FILTERS: int = c.ECS_ALERT_MAX_SEVERITY_FILTERS
|
|
374
|
+
public const SCRIPT_FUNCTION_ARGS_MAX: int = c.FLECS_SCRIPT_FUNCTION_ARGS_MAX
|
|
375
|
+
public const SCRIPT_VECTOR_FUNCTION_COUNT: int = c.FLECS_SCRIPT_VECTOR_FUNCTION_COUNT
|
|
376
|
+
public const MEMBER_DESC_CACHE_SIZE: int = c.ECS_MEMBER_DESC_CACHE_SIZE
|
|
377
|
+
public const META_MAX_SCOPE_DEPTH: int = c.ECS_META_MAX_SCOPE_DEPTH
|
|
378
|
+
|
|
379
|
+
public foreign function vec_init(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int, elem_count: int) -> void = c.ecs_vec_init
|
|
380
|
+
public foreign function vec_init_w_dbg_info(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int, elem_count: int, type_name: str as cstr) -> void = c.ecs_vec_init_w_dbg_info
|
|
381
|
+
public foreign function vec_init_if(vec: ptr[ecs_vec_t], size: int) -> void = c.ecs_vec_init_if
|
|
382
|
+
public foreign function vec_fini(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int) -> void = c.ecs_vec_fini
|
|
383
|
+
public foreign function vec_reset(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int) -> ptr[ecs_vec_t] = c.ecs_vec_reset
|
|
384
|
+
public foreign function vec_clear(vec: ptr[ecs_vec_t]) -> void = c.ecs_vec_clear
|
|
385
|
+
public foreign function vec_append(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int) -> ptr[void] = c.ecs_vec_append
|
|
386
|
+
public foreign function vec_remove(vec: ptr[ecs_vec_t], size: int, elem: int) -> void = c.ecs_vec_remove
|
|
387
|
+
public foreign function vec_remove_ordered(v: ptr[ecs_vec_t], size: int, index: int) -> void = c.ecs_vec_remove_ordered
|
|
388
|
+
public foreign function vec_remove_last(vec: ptr[ecs_vec_t]) -> void = c.ecs_vec_remove_last
|
|
389
|
+
public foreign function vec_copy(allocator: ptr[ecs_allocator_t], vec: const_ptr[ecs_vec_t], size: int) -> ecs_vec_t = c.ecs_vec_copy
|
|
390
|
+
public foreign function vec_copy_shrink(allocator: ptr[ecs_allocator_t], vec: const_ptr[ecs_vec_t], size: int) -> ecs_vec_t = c.ecs_vec_copy_shrink
|
|
391
|
+
public foreign function vec_reclaim(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int) -> void = c.ecs_vec_reclaim
|
|
392
|
+
public foreign function vec_set_size(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int, elem_count: int) -> void = c.ecs_vec_set_size
|
|
393
|
+
public foreign function vec_set_min_size(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int, elem_count: int) -> void = c.ecs_vec_set_min_size
|
|
394
|
+
public foreign function vec_set_min_size_w_type_info(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int, elem_count: int, ti: const_ptr[ecs_type_info_t]) -> void = c.ecs_vec_set_min_size_w_type_info
|
|
395
|
+
public foreign function vec_set_min_count(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int, elem_count: int) -> void = c.ecs_vec_set_min_count
|
|
396
|
+
public foreign function vec_set_min_count_zeromem(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int, elem_count: int) -> void = c.ecs_vec_set_min_count_zeromem
|
|
397
|
+
public foreign function vec_set_count(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int, elem_count: int) -> void = c.ecs_vec_set_count
|
|
398
|
+
public foreign function vec_set_count_w_type_info(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int, elem_count: int, ti: const_ptr[ecs_type_info_t]) -> void = c.ecs_vec_set_count_w_type_info
|
|
399
|
+
public foreign function vec_set_min_count_w_type_info(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int, elem_count: int, ti: const_ptr[ecs_type_info_t]) -> void = c.ecs_vec_set_min_count_w_type_info
|
|
400
|
+
public foreign function vec_grow(allocator: ptr[ecs_allocator_t], vec: ptr[ecs_vec_t], size: int, elem_count: int) -> ptr[void] = c.ecs_vec_grow
|
|
401
|
+
public foreign function vec_count(vec: const_ptr[ecs_vec_t]) -> int = c.ecs_vec_count
|
|
402
|
+
public foreign function vec_size(vec: const_ptr[ecs_vec_t]) -> int = c.ecs_vec_size
|
|
403
|
+
public foreign function vec_get(vec: const_ptr[ecs_vec_t], size: int, index: int) -> ptr[void] = c.ecs_vec_get
|
|
404
|
+
public foreign function vec_first(vec: const_ptr[ecs_vec_t]) -> ptr[void] = c.ecs_vec_first
|
|
405
|
+
public foreign function vec_last(vec: const_ptr[ecs_vec_t], size: int) -> ptr[void] = c.ecs_vec_last
|
|
406
|
+
public foreign function sparse_init(sparse: ptr[ecs_sparse_t], elem_size: int) -> void = c.ecs_sparse_init
|
|
407
|
+
public foreign function sparse_add(sparse: ptr[ecs_sparse_t], elem_size: int) -> ptr[void] = c.ecs_sparse_add
|
|
408
|
+
public foreign function sparse_last_id(sparse: const_ptr[ecs_sparse_t]) -> ulong = c.ecs_sparse_last_id
|
|
409
|
+
public foreign function sparse_count(sparse: const_ptr[ecs_sparse_t]) -> int = c.ecs_sparse_count
|
|
410
|
+
public foreign function sparse_get_dense(sparse: const_ptr[ecs_sparse_t], elem_size: int, index: int) -> ptr[void] = c.ecs_sparse_get_dense
|
|
411
|
+
public foreign function sparse_get(sparse: const_ptr[ecs_sparse_t], elem_size: int, id: ptr_uint) -> ptr[void] = c.ecs_sparse_get
|
|
412
|
+
public foreign function map_init(map: ptr[ecs_map_t], allocator: ptr[ecs_allocator_t]) -> void = c.ecs_map_init
|
|
413
|
+
public foreign function map_init_if(map: ptr[ecs_map_t], allocator: ptr[ecs_allocator_t]) -> void = c.ecs_map_init_if
|
|
414
|
+
public foreign function map_reclaim(map: ptr[ecs_map_t]) -> void = c.ecs_map_reclaim
|
|
415
|
+
public foreign function map_fini(map: ptr[ecs_map_t]) -> void = c.ecs_map_fini
|
|
416
|
+
public foreign function map_get(map: const_ptr[ecs_map_t], key: ptr_uint) -> ptr[ecs_map_val_t] = c.ecs_map_get
|
|
417
|
+
public foreign function map_get_deref_(map: const_ptr[ecs_map_t], key: ptr_uint) -> ptr[void] = c.ecs_map_get_deref_
|
|
418
|
+
public foreign function map_ensure(map: ptr[ecs_map_t], key: ptr_uint) -> ptr[ecs_map_val_t] = c.ecs_map_ensure
|
|
419
|
+
public foreign function map_ensure_alloc(map: ptr[ecs_map_t], elem_size: int, key: ptr_uint) -> ptr[void] = c.ecs_map_ensure_alloc
|
|
420
|
+
public foreign function map_insert(map: ptr[ecs_map_t], key: ptr_uint, value: ptr_uint) -> void = c.ecs_map_insert
|
|
421
|
+
public foreign function map_insert_alloc(map: ptr[ecs_map_t], elem_size: int, key: ptr_uint) -> ptr[void] = c.ecs_map_insert_alloc
|
|
422
|
+
public foreign function map_remove(map: ptr[ecs_map_t], key: ptr_uint) -> ecs_map_val_t = c.ecs_map_remove
|
|
423
|
+
public foreign function map_remove_free(map: ptr[ecs_map_t], key: ptr_uint) -> void = c.ecs_map_remove_free
|
|
424
|
+
public foreign function map_clear(map: ptr[ecs_map_t]) -> void = c.ecs_map_clear
|
|
425
|
+
public foreign function map_iter(map: const_ptr[ecs_map_t]) -> ecs_map_iter_t = c.ecs_map_iter
|
|
426
|
+
public foreign function map_iter_valid(iter: ptr[ecs_map_iter_t]) -> bool = c.ecs_map_iter_valid
|
|
427
|
+
public foreign function map_next(iter: ptr[ecs_map_iter_t]) -> bool = c.ecs_map_next
|
|
428
|
+
public foreign function map_copy(dst: ptr[ecs_map_t], src: const_ptr[ecs_map_t]) -> void = c.ecs_map_copy
|
|
429
|
+
public foreign function strbuf_append(buffer: ptr[ecs_strbuf_t], fmt: str as cstr, ...) -> void = c.ecs_strbuf_append
|
|
430
|
+
public foreign function strbuf_vappend(buffer: ptr[ecs_strbuf_t], fmt: str as cstr, args: va_list) -> void = c.ecs_strbuf_vappend
|
|
431
|
+
public foreign function strbuf_appendstr(buffer: ptr[ecs_strbuf_t], str_: str as cstr) -> void = c.ecs_strbuf_appendstr
|
|
432
|
+
public foreign function strbuf_appendch(buffer: ptr[ecs_strbuf_t], ch: char) -> void = c.ecs_strbuf_appendch
|
|
433
|
+
public foreign function strbuf_appendint(buffer: ptr[ecs_strbuf_t], v: ptr_int) -> void = c.ecs_strbuf_appendint
|
|
434
|
+
public foreign function strbuf_appendflt(buffer: ptr[ecs_strbuf_t], v: double, nan_delim: char) -> void = c.ecs_strbuf_appendflt
|
|
435
|
+
public foreign function strbuf_appendbool(buffer: ptr[ecs_strbuf_t], v: bool) -> void = c.ecs_strbuf_appendbool
|
|
436
|
+
public foreign function strbuf_mergebuff(dst_buffer: ptr[ecs_strbuf_t], src_buffer: ptr[ecs_strbuf_t]) -> void = c.ecs_strbuf_mergebuff
|
|
437
|
+
public foreign function strbuf_appendstrn(buffer: ptr[ecs_strbuf_t], str_: str as cstr, n: int) -> void = c.ecs_strbuf_appendstrn
|
|
438
|
+
public foreign function strbuf_get(buffer: ptr[ecs_strbuf_t]) -> ptr[char] = c.ecs_strbuf_get
|
|
439
|
+
public foreign function strbuf_get_small(buffer: ptr[ecs_strbuf_t]) -> ptr[char] = c.ecs_strbuf_get_small
|
|
440
|
+
public foreign function strbuf_reset(buffer: ptr[ecs_strbuf_t]) -> void = c.ecs_strbuf_reset
|
|
441
|
+
public foreign function strbuf_list_push(buffer: ptr[ecs_strbuf_t], list_open: str as cstr, separator: str as cstr) -> void = c.ecs_strbuf_list_push
|
|
442
|
+
public foreign function strbuf_list_pop(buffer: ptr[ecs_strbuf_t], list_close: str as cstr) -> void = c.ecs_strbuf_list_pop
|
|
443
|
+
public foreign function strbuf_list_next(buffer: ptr[ecs_strbuf_t]) -> void = c.ecs_strbuf_list_next
|
|
444
|
+
public foreign function strbuf_list_appendch(buffer: ptr[ecs_strbuf_t], ch: char) -> void = c.ecs_strbuf_list_appendch
|
|
445
|
+
public foreign function strbuf_list_append(buffer: ptr[ecs_strbuf_t], fmt: str as cstr, ...) -> void = c.ecs_strbuf_list_append
|
|
446
|
+
public foreign function strbuf_list_appendstr(buffer: ptr[ecs_strbuf_t], str_: str as cstr) -> void = c.ecs_strbuf_list_appendstr
|
|
447
|
+
public foreign function strbuf_list_appendstrn(buffer: ptr[ecs_strbuf_t], str_: str as cstr, n: int) -> void = c.ecs_strbuf_list_appendstrn
|
|
448
|
+
public foreign function strbuf_written(buffer: const_ptr[ecs_strbuf_t]) -> int = c.ecs_strbuf_written
|
|
449
|
+
public foreign function os_init() -> void = c.ecs_os_init
|
|
450
|
+
public foreign function os_fini() -> void = c.ecs_os_fini
|
|
451
|
+
public foreign function os_set_api(os_api: ptr[ecs_os_api_t]) -> void = c.ecs_os_set_api
|
|
452
|
+
public foreign function os_get_api() -> ecs_os_api_t = c.ecs_os_get_api
|
|
453
|
+
public foreign function os_set_api_defaults() -> void = c.ecs_os_set_api_defaults
|
|
454
|
+
public foreign function os_dbg(file: str as cstr, line: int, msg: str as cstr) -> void = c.ecs_os_dbg
|
|
455
|
+
public foreign function os_trace(file: str as cstr, line: int, msg: str as cstr) -> void = c.ecs_os_trace
|
|
456
|
+
public foreign function os_warn(file: str as cstr, line: int, msg: str as cstr) -> void = c.ecs_os_warn
|
|
457
|
+
public foreign function os_err(file: str as cstr, line: int, msg: str as cstr) -> void = c.ecs_os_err
|
|
458
|
+
public foreign function os_fatal(file: str as cstr, line: int, msg: str as cstr) -> void = c.ecs_os_fatal
|
|
459
|
+
public foreign function os_strerror(err: int) -> cstr = c.ecs_os_strerror
|
|
460
|
+
public foreign function os_strset(str_: ptr[ptr[char]], value: str as cstr) -> void = c.ecs_os_strset
|
|
461
|
+
public foreign function os_perf_trace_push_(file: str as cstr, line: ptr_uint, name: str as cstr) -> void = c.ecs_os_perf_trace_push_
|
|
462
|
+
public foreign function os_perf_trace_pop_(file: str as cstr, line: ptr_uint, name: str as cstr) -> void = c.ecs_os_perf_trace_pop_
|
|
463
|
+
public foreign function sleepf(t: double) -> void = c.ecs_sleepf
|
|
464
|
+
public foreign function time_measure(start: ptr[ecs_time_t]) -> double = c.ecs_time_measure
|
|
465
|
+
public foreign function time_sub(t1: ecs_time_t, t2: ecs_time_t) -> ecs_time_t = c.ecs_time_sub
|
|
466
|
+
public foreign function time_to_double(t: ecs_time_t) -> double = c.ecs_time_to_double
|
|
467
|
+
public foreign function os_memdup(src: const_ptr[void], size: int) -> ptr[void] = c.ecs_os_memdup
|
|
468
|
+
public foreign function os_has_heap() -> bool = c.ecs_os_has_heap
|
|
469
|
+
public foreign function os_has_threading() -> bool = c.ecs_os_has_threading
|
|
470
|
+
public foreign function os_has_task_support() -> bool = c.ecs_os_has_task_support
|
|
471
|
+
public foreign function os_has_time() -> bool = c.ecs_os_has_time
|
|
472
|
+
public foreign function os_has_logging() -> bool = c.ecs_os_has_logging
|
|
473
|
+
public foreign function os_has_dl() -> bool = c.ecs_os_has_dl
|
|
474
|
+
public foreign function os_has_modules() -> bool = c.ecs_os_has_modules
|
|
475
|
+
public foreign function record_find(world: const_ptr[ecs_world_t], entity: ptr_uint) -> ptr[ecs_record_t] = c.ecs_record_find
|
|
476
|
+
public foreign function record_get_entity(record: const_ptr[ecs_record_t]) -> ecs_entity_t = c.ecs_record_get_entity
|
|
477
|
+
public foreign function write_begin(world: ptr[ecs_world_t], entity: ptr_uint) -> ptr[ecs_record_t] = c.ecs_write_begin
|
|
478
|
+
public foreign function write_end(record: ptr[ecs_record_t]) -> void = c.ecs_write_end
|
|
479
|
+
public foreign function read_begin(world: ptr[ecs_world_t], entity: ptr_uint) -> const_ptr[ecs_record_t] = c.ecs_read_begin
|
|
480
|
+
public foreign function read_end(record: const_ptr[ecs_record_t]) -> void = c.ecs_read_end
|
|
481
|
+
public foreign function record_get_id(world: const_ptr[ecs_world_t], record: const_ptr[ecs_record_t], id: ptr_uint) -> const_ptr[void] = c.ecs_record_get_id
|
|
482
|
+
public foreign function record_ensure_id(world: ptr[ecs_world_t], record: ptr[ecs_record_t], id: ptr_uint) -> ptr[void] = c.ecs_record_ensure_id
|
|
483
|
+
public foreign function record_has_id(world: ptr[ecs_world_t], record: const_ptr[ecs_record_t], id: ptr_uint) -> bool = c.ecs_record_has_id
|
|
484
|
+
public foreign function record_get_by_column(record: const_ptr[ecs_record_t], column: int, size: ptr_uint) -> ptr[void] = c.ecs_record_get_by_column
|
|
485
|
+
public foreign function init() -> ptr[ecs_world_t] = c.ecs_init
|
|
486
|
+
public foreign function mini() -> ptr[ecs_world_t] = c.ecs_mini
|
|
487
|
+
public foreign function init_w_args(argc: int, argv: ptr[ptr[char]]) -> ptr[ecs_world_t] = c.ecs_init_w_args
|
|
488
|
+
public foreign function fini(world: ptr[ecs_world_t]) -> int = c.ecs_fini
|
|
489
|
+
public foreign function is_fini(world: const_ptr[ecs_world_t]) -> bool = c.ecs_is_fini
|
|
490
|
+
public foreign function atfini(world: ptr[ecs_world_t], action: fn(arg0: ptr[ecs_world_t], arg1: ptr[void]) -> void, ctx: ptr[void]) -> void = c.ecs_atfini
|
|
491
|
+
public foreign function get_entities(world: const_ptr[ecs_world_t]) -> ecs_entities_t = c.ecs_get_entities
|
|
492
|
+
public foreign function world_get_flags(world: const_ptr[ecs_world_t]) -> ecs_flags32_t = c.ecs_world_get_flags
|
|
493
|
+
public foreign function frame_begin(world: ptr[ecs_world_t], delta_time: float) -> float = c.ecs_frame_begin
|
|
494
|
+
public foreign function frame_end(world: ptr[ecs_world_t]) -> void = c.ecs_frame_end
|
|
495
|
+
public foreign function run_post_frame(world: ptr[ecs_world_t], action: fn(arg0: ptr[ecs_world_t], arg1: ptr[void]) -> void, ctx: ptr[void]) -> void = c.ecs_run_post_frame
|
|
496
|
+
public foreign function quit(world: ptr[ecs_world_t]) -> void = c.ecs_quit
|
|
497
|
+
public foreign function should_quit(world: const_ptr[ecs_world_t]) -> bool = c.ecs_should_quit
|
|
498
|
+
public foreign function measure_frame_time(world: ptr[ecs_world_t], enable: bool) -> void = c.ecs_measure_frame_time
|
|
499
|
+
public foreign function measure_system_time(world: ptr[ecs_world_t], enable: bool) -> void = c.ecs_measure_system_time
|
|
500
|
+
public foreign function set_target_fps(world: ptr[ecs_world_t], fps: float) -> void = c.ecs_set_target_fps
|
|
501
|
+
public foreign function set_default_query_flags(world: ptr[ecs_world_t], flags_: uint) -> void = c.ecs_set_default_query_flags
|
|
502
|
+
public foreign function readonly_begin(world: ptr[ecs_world_t], multi_threaded: bool) -> bool = c.ecs_readonly_begin
|
|
503
|
+
public foreign function readonly_end(world: ptr[ecs_world_t]) -> void = c.ecs_readonly_end
|
|
504
|
+
public foreign function merge(stage: ptr[ecs_world_t]) -> void = c.ecs_merge
|
|
505
|
+
public foreign function defer_begin(world: ptr[ecs_world_t]) -> bool = c.ecs_defer_begin
|
|
506
|
+
public foreign function defer_end(world: ptr[ecs_world_t]) -> bool = c.ecs_defer_end
|
|
507
|
+
public foreign function defer_suspend(world: ptr[ecs_world_t]) -> void = c.ecs_defer_suspend
|
|
508
|
+
public foreign function defer_resume(world: ptr[ecs_world_t]) -> void = c.ecs_defer_resume
|
|
509
|
+
public foreign function is_deferred(world: const_ptr[ecs_world_t]) -> bool = c.ecs_is_deferred
|
|
510
|
+
public foreign function is_defer_suspended(world: const_ptr[ecs_world_t]) -> bool = c.ecs_is_defer_suspended
|
|
511
|
+
public foreign function set_stage_count(world: ptr[ecs_world_t], stages: int) -> void = c.ecs_set_stage_count
|
|
512
|
+
public foreign function get_stage_count(world: const_ptr[ecs_world_t]) -> int = c.ecs_get_stage_count
|
|
513
|
+
public foreign function get_stage(world: const_ptr[ecs_world_t], stage_id: int) -> ptr[ecs_world_t] = c.ecs_get_stage
|
|
514
|
+
public foreign function stage_is_readonly(world: const_ptr[ecs_world_t]) -> bool = c.ecs_stage_is_readonly
|
|
515
|
+
public foreign function stage_new(world: ptr[ecs_world_t]) -> ptr[ecs_world_t] = c.ecs_stage_new
|
|
516
|
+
public foreign function stage_free(stage: ptr[ecs_world_t]) -> void = c.ecs_stage_free
|
|
517
|
+
public foreign function stage_get_id(world: const_ptr[ecs_world_t]) -> int = c.ecs_stage_get_id
|
|
518
|
+
public foreign function set_ctx(world: ptr[ecs_world_t], ctx: ptr[void], ctx_free: fn(arg0: ptr[void]) -> void) -> void = c.ecs_set_ctx
|
|
519
|
+
public foreign function set_binding_ctx(world: ptr[ecs_world_t], ctx: ptr[void], ctx_free: fn(arg0: ptr[void]) -> void) -> void = c.ecs_set_binding_ctx
|
|
520
|
+
public foreign function get_ctx(world: const_ptr[ecs_world_t]) -> ptr[void] = c.ecs_get_ctx
|
|
521
|
+
public foreign function get_binding_ctx(world: const_ptr[ecs_world_t]) -> ptr[void] = c.ecs_get_binding_ctx
|
|
522
|
+
public foreign function get_build_info() -> const_ptr[ecs_build_info_t] = c.ecs_get_build_info
|
|
523
|
+
public foreign function get_world_info(world: const_ptr[ecs_world_t]) -> const_ptr[ecs_world_info_t] = c.ecs_get_world_info
|
|
524
|
+
public foreign function dim(world: ptr[ecs_world_t], entity_count: int) -> void = c.ecs_dim
|
|
525
|
+
public foreign function shrink(world: ptr[ecs_world_t]) -> void = c.ecs_shrink
|
|
526
|
+
public foreign function entity_range_new(world: ptr[ecs_world_t], min: uint, max: uint) -> const_ptr[ecs_entity_range_t] = c.ecs_entity_range_new
|
|
527
|
+
public foreign function entity_range_set(world: ptr[ecs_world_t], range: const_ptr[ecs_entity_range_t]) -> void = c.ecs_entity_range_set
|
|
528
|
+
public foreign function entity_range_get(world: const_ptr[ecs_world_t]) -> const_ptr[ecs_entity_range_t] = c.ecs_entity_range_get
|
|
529
|
+
public foreign function get_max_id(world: const_ptr[ecs_world_t]) -> ecs_entity_t = c.ecs_get_max_id
|
|
530
|
+
public foreign function run_aperiodic(world: ptr[ecs_world_t], flags_: uint) -> void = c.ecs_run_aperiodic
|
|
531
|
+
public foreign function delete_empty_tables(world: ptr[ecs_world_t], desc: const_ptr[ecs_delete_empty_tables_desc_t]) -> int = c.ecs_delete_empty_tables
|
|
532
|
+
public foreign function get_world(poly: const_ptr[ecs_poly_t]) -> const_ptr[ecs_world_t] = c.ecs_get_world
|
|
533
|
+
public foreign function get_entity(poly: const_ptr[ecs_poly_t]) -> ecs_entity_t = c.ecs_get_entity
|
|
534
|
+
public foreign function make_pair(first: ptr_uint, second: ptr_uint) -> ecs_id_t = c.ecs_make_pair
|
|
535
|
+
public foreign function exclusive_access_begin(world: ptr[ecs_world_t], thread_name: str as cstr) -> void = c.ecs_exclusive_access_begin
|
|
536
|
+
public foreign function exclusive_access_end(world: ptr[ecs_world_t], lock_world: bool) -> void = c.ecs_exclusive_access_end
|
|
537
|
+
public foreign function new(world: ptr[ecs_world_t]) -> ecs_entity_t = c.ecs_new
|
|
538
|
+
public foreign function new_low_id(world: ptr[ecs_world_t]) -> ecs_entity_t = c.ecs_new_low_id
|
|
539
|
+
public foreign function new_w_id(world: ptr[ecs_world_t], component: ptr_uint) -> ecs_entity_t = c.ecs_new_w_id
|
|
540
|
+
public foreign function new_w_table(world: ptr[ecs_world_t], table: ptr[ecs_table_t]) -> ecs_entity_t = c.ecs_new_w_table
|
|
541
|
+
public foreign function entity_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_entity_desc_t]) -> ecs_entity_t = c.ecs_entity_init
|
|
542
|
+
public foreign function bulk_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_bulk_desc_t]) -> const_ptr[ecs_entity_t] = c.ecs_bulk_init
|
|
543
|
+
public foreign function bulk_new_w_id(world: ptr[ecs_world_t], component: ptr_uint, count: int) -> const_ptr[ecs_entity_t] = c.ecs_bulk_new_w_id
|
|
544
|
+
public foreign function clone(world: ptr[ecs_world_t], dst: ptr_uint, src: ptr_uint, copy_value: bool) -> ecs_entity_t = c.ecs_clone
|
|
545
|
+
public foreign function delete(world: ptr[ecs_world_t], entity: ptr_uint) -> void = c.ecs_delete
|
|
546
|
+
public foreign function delete_with(world: ptr[ecs_world_t], component: ptr_uint) -> void = c.ecs_delete_with
|
|
547
|
+
public foreign function set_child_order(world: ptr[ecs_world_t], parent: ptr_uint, children: const_ptr[ecs_entity_t], child_count: int) -> void = c.ecs_set_child_order
|
|
548
|
+
public foreign function get_ordered_children(world: const_ptr[ecs_world_t], parent: ptr_uint) -> ecs_entities_t = c.ecs_get_ordered_children
|
|
549
|
+
public foreign function add_id(world: ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint) -> void = c.ecs_add_id
|
|
550
|
+
public foreign function remove_id(world: ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint) -> void = c.ecs_remove_id
|
|
551
|
+
public foreign function auto_override_id(world: ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint) -> void = c.ecs_auto_override_id
|
|
552
|
+
public foreign function clear(world: ptr[ecs_world_t], entity: ptr_uint) -> void = c.ecs_clear
|
|
553
|
+
public foreign function remove_all(world: ptr[ecs_world_t], component: ptr_uint) -> void = c.ecs_remove_all
|
|
554
|
+
public foreign function set_with(world: ptr[ecs_world_t], component: ptr_uint) -> ecs_entity_t = c.ecs_set_with
|
|
555
|
+
public foreign function get_with(world: const_ptr[ecs_world_t]) -> ecs_id_t = c.ecs_get_with
|
|
556
|
+
public foreign function enable(world: ptr[ecs_world_t], entity: ptr_uint, enabled: bool) -> void = c.ecs_enable
|
|
557
|
+
public foreign function enable_id(world: ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint, enable: bool) -> void = c.ecs_enable_id
|
|
558
|
+
public foreign function is_enabled_id(world: const_ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint) -> bool = c.ecs_is_enabled_id
|
|
559
|
+
public foreign function get_id(world: const_ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint) -> const_ptr[void] = c.ecs_get_id
|
|
560
|
+
public foreign function get_mut_id(world: const_ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint) -> ptr[void] = c.ecs_get_mut_id
|
|
561
|
+
public foreign function ensure_id(world: ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint, size: ptr_uint) -> ptr[void] = c.ecs_ensure_id
|
|
562
|
+
public foreign function ref_init_id(world: const_ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint) -> ecs_ref_t = c.ecs_ref_init_id
|
|
563
|
+
public foreign function ref_get_id(world: const_ptr[ecs_world_t], ref: ptr[ecs_ref_t], component: ptr_uint) -> ptr[void] = c.ecs_ref_get_id
|
|
564
|
+
public foreign function ref_update(world: const_ptr[ecs_world_t], ref: ptr[ecs_ref_t], component: ptr_uint) -> void = c.ecs_ref_update
|
|
565
|
+
public foreign function emplace_id(world: ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint, size: ptr_uint, is_new: ptr[bool]) -> ptr[void] = c.ecs_emplace_id
|
|
566
|
+
public foreign function modified_id(world: ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint) -> void = c.ecs_modified_id
|
|
567
|
+
public foreign function set_id(world: ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint, size: ptr_uint, ptr: const_ptr[void]) -> void = c.ecs_set_id
|
|
568
|
+
public foreign function is_valid(world: const_ptr[ecs_world_t], e: ptr_uint) -> bool = c.ecs_is_valid
|
|
569
|
+
public foreign function is_alive(world: const_ptr[ecs_world_t], e: ptr_uint) -> bool = c.ecs_is_alive
|
|
570
|
+
public foreign function strip_generation(e: ptr_uint) -> ecs_id_t = c.ecs_strip_generation
|
|
571
|
+
public foreign function get_alive(world: const_ptr[ecs_world_t], e: ptr_uint) -> ecs_entity_t = c.ecs_get_alive
|
|
572
|
+
public foreign function make_alive(world: ptr[ecs_world_t], entity: ptr_uint) -> void = c.ecs_make_alive
|
|
573
|
+
public foreign function make_alive_id(world: ptr[ecs_world_t], component: ptr_uint) -> void = c.ecs_make_alive_id
|
|
574
|
+
public foreign function exists(world: const_ptr[ecs_world_t], entity: ptr_uint) -> bool = c.ecs_exists
|
|
575
|
+
public foreign function set_version(world: ptr[ecs_world_t], entity: ptr_uint) -> void = c.ecs_set_version
|
|
576
|
+
public foreign function get_version(entity: ptr_uint) -> uint = c.ecs_get_version
|
|
577
|
+
public foreign function get_type(world: const_ptr[ecs_world_t], entity: ptr_uint) -> const_ptr[ecs_type_t] = c.ecs_get_type
|
|
578
|
+
public foreign function get_table(world: const_ptr[ecs_world_t], entity: ptr_uint) -> ptr[ecs_table_t] = c.ecs_get_table
|
|
579
|
+
public foreign function type_str(world: const_ptr[ecs_world_t], type_: const_ptr[ecs_type_t]) -> ptr[char] = c.ecs_type_str
|
|
580
|
+
public foreign function table_str(world: const_ptr[ecs_world_t], table: const_ptr[ecs_table_t]) -> ptr[char] = c.ecs_table_str
|
|
581
|
+
public foreign function entity_str(world: const_ptr[ecs_world_t], entity: ptr_uint) -> ptr[char] = c.ecs_entity_str
|
|
582
|
+
public foreign function has_id(world: const_ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint) -> bool = c.ecs_has_id
|
|
583
|
+
public foreign function owns_id(world: const_ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint) -> bool = c.ecs_owns_id
|
|
584
|
+
public foreign function get_target(world: const_ptr[ecs_world_t], entity: ptr_uint, rel: ptr_uint, index: int) -> ecs_entity_t = c.ecs_get_target
|
|
585
|
+
public foreign function get_parent(world: const_ptr[ecs_world_t], entity: ptr_uint) -> ecs_entity_t = c.ecs_get_parent
|
|
586
|
+
public foreign function new_w_parent(world: ptr[ecs_world_t], parent: ptr_uint, name: str as cstr) -> ecs_entity_t = c.ecs_new_w_parent
|
|
587
|
+
public foreign function get_target_for_id(world: const_ptr[ecs_world_t], entity: ptr_uint, rel: ptr_uint, component: ptr_uint) -> ecs_entity_t = c.ecs_get_target_for_id
|
|
588
|
+
public foreign function get_depth(world: const_ptr[ecs_world_t], entity: ptr_uint, rel: ptr_uint) -> int = c.ecs_get_depth
|
|
589
|
+
public foreign function count_id(world: const_ptr[ecs_world_t], entity: ptr_uint) -> int = c.ecs_count_id
|
|
590
|
+
public foreign function get_name(world: const_ptr[ecs_world_t], entity: ptr_uint) -> cstr = c.ecs_get_name
|
|
591
|
+
public foreign function get_symbol(world: const_ptr[ecs_world_t], entity: ptr_uint) -> cstr = c.ecs_get_symbol
|
|
592
|
+
public foreign function set_name(world: ptr[ecs_world_t], entity: ptr_uint, name: str as cstr) -> ecs_entity_t = c.ecs_set_name
|
|
593
|
+
public foreign function set_symbol(world: ptr[ecs_world_t], entity: ptr_uint, symbol: str as cstr) -> ecs_entity_t = c.ecs_set_symbol
|
|
594
|
+
public foreign function set_alias(world: ptr[ecs_world_t], entity: ptr_uint, alias: str as cstr) -> void = c.ecs_set_alias
|
|
595
|
+
public foreign function lookup(world: const_ptr[ecs_world_t], path: str as cstr) -> ecs_entity_t = c.ecs_lookup
|
|
596
|
+
public foreign function lookup_child(world: const_ptr[ecs_world_t], parent: ptr_uint, name: str as cstr) -> ecs_entity_t = c.ecs_lookup_child
|
|
597
|
+
public foreign function lookup_path_w_sep(world: const_ptr[ecs_world_t], parent: ptr_uint, path: str as cstr, sep: str as cstr, prefix: str as cstr, recursive: bool) -> ecs_entity_t = c.ecs_lookup_path_w_sep
|
|
598
|
+
public foreign function lookup_symbol(world: const_ptr[ecs_world_t], symbol: str as cstr, lookup_as_path: bool, recursive: bool) -> ecs_entity_t = c.ecs_lookup_symbol
|
|
599
|
+
public foreign function get_path_w_sep(world: const_ptr[ecs_world_t], parent: ptr_uint, child: ptr_uint, sep: str as cstr, prefix: str as cstr) -> ptr[char] = c.ecs_get_path_w_sep
|
|
600
|
+
public foreign function get_path_w_sep_buf(world: const_ptr[ecs_world_t], parent: ptr_uint, child: ptr_uint, sep: str as cstr, prefix: str as cstr, buf: ptr[ecs_strbuf_t], escape: bool) -> void = c.ecs_get_path_w_sep_buf
|
|
601
|
+
public foreign function new_from_path_w_sep(world: ptr[ecs_world_t], parent: ptr_uint, path: str as cstr, sep: str as cstr, prefix: str as cstr) -> ecs_entity_t = c.ecs_new_from_path_w_sep
|
|
602
|
+
public foreign function add_path_w_sep(world: ptr[ecs_world_t], entity: ptr_uint, parent: ptr_uint, path: str as cstr, sep: str as cstr, prefix: str as cstr) -> ecs_entity_t = c.ecs_add_path_w_sep
|
|
603
|
+
public foreign function set_scope(world: ptr[ecs_world_t], scope: ptr_uint) -> ecs_entity_t = c.ecs_set_scope
|
|
604
|
+
public foreign function get_scope(world: const_ptr[ecs_world_t]) -> ecs_entity_t = c.ecs_get_scope
|
|
605
|
+
public foreign function set_name_prefix(world: ptr[ecs_world_t], prefix: str as cstr) -> cstr = c.ecs_set_name_prefix
|
|
606
|
+
public foreign function set_lookup_path(world: ptr[ecs_world_t], lookup_path: const_ptr[ecs_entity_t]) -> ptr[ecs_entity_t] = c.ecs_set_lookup_path
|
|
607
|
+
public foreign function get_lookup_path(world: const_ptr[ecs_world_t]) -> ptr[ecs_entity_t] = c.ecs_get_lookup_path
|
|
608
|
+
public foreign function component_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_component_desc_t]) -> ecs_entity_t = c.ecs_component_init
|
|
609
|
+
public foreign function get_type_info(world: const_ptr[ecs_world_t], component: ptr_uint) -> const_ptr[ecs_type_info_t] = c.ecs_get_type_info
|
|
610
|
+
public foreign function set_hooks_id(world: ptr[ecs_world_t], component: ptr_uint, hooks: const_ptr[ecs_type_hooks_t]) -> void = c.ecs_set_hooks_id
|
|
611
|
+
public foreign function get_hooks_id(world: const_ptr[ecs_world_t], component: ptr_uint) -> const_ptr[ecs_type_hooks_t] = c.ecs_get_hooks_id
|
|
612
|
+
public foreign function id_is_tag(world: const_ptr[ecs_world_t], component: ptr_uint) -> bool = c.ecs_id_is_tag
|
|
613
|
+
public foreign function id_in_use(world: const_ptr[ecs_world_t], component: ptr_uint) -> bool = c.ecs_id_in_use
|
|
614
|
+
public foreign function get_typeid(world: const_ptr[ecs_world_t], component: ptr_uint) -> ecs_entity_t = c.ecs_get_typeid
|
|
615
|
+
public foreign function id_match(component: ptr_uint, pattern: ptr_uint) -> bool = c.ecs_id_match
|
|
616
|
+
public foreign function id_is_pair(component: ptr_uint) -> bool = c.ecs_id_is_pair
|
|
617
|
+
public foreign function id_is_wildcard(component: ptr_uint) -> bool = c.ecs_id_is_wildcard
|
|
618
|
+
public foreign function id_is_any(component: ptr_uint) -> bool = c.ecs_id_is_any
|
|
619
|
+
public foreign function id_is_valid(world: const_ptr[ecs_world_t], component: ptr_uint) -> bool = c.ecs_id_is_valid
|
|
620
|
+
public foreign function id_get_flags(world: const_ptr[ecs_world_t], component: ptr_uint) -> ecs_flags32_t = c.ecs_id_get_flags
|
|
621
|
+
public foreign function id_flag_str(component_flags: ptr_uint) -> cstr = c.ecs_id_flag_str
|
|
622
|
+
public foreign function id_str(world: const_ptr[ecs_world_t], component: ptr_uint) -> ptr[char] = c.ecs_id_str
|
|
623
|
+
public foreign function id_str_buf(world: const_ptr[ecs_world_t], component: ptr_uint, buf: ptr[ecs_strbuf_t]) -> void = c.ecs_id_str_buf
|
|
624
|
+
public foreign function id_from_str(world: const_ptr[ecs_world_t], expr: str as cstr) -> ecs_id_t = c.ecs_id_from_str
|
|
625
|
+
public foreign function term_ref_is_set(ref: const_ptr[ecs_term_ref_t]) -> bool = c.ecs_term_ref_is_set
|
|
626
|
+
public foreign function term_is_initialized(term: const_ptr[ecs_term_t]) -> bool = c.ecs_term_is_initialized
|
|
627
|
+
public foreign function term_match_this(term: const_ptr[ecs_term_t]) -> bool = c.ecs_term_match_this
|
|
628
|
+
public foreign function term_match_0(term: const_ptr[ecs_term_t]) -> bool = c.ecs_term_match_0
|
|
629
|
+
public foreign function term_str(world: const_ptr[ecs_world_t], term: const_ptr[ecs_term_t]) -> ptr[char] = c.ecs_term_str
|
|
630
|
+
public foreign function query_str(query: const_ptr[ecs_query_t]) -> ptr[char] = c.ecs_query_str
|
|
631
|
+
public foreign function each_id(world: const_ptr[ecs_world_t], component: ptr_uint) -> ecs_iter_t = c.ecs_each_id
|
|
632
|
+
public foreign function each_next(it: ptr[ecs_iter_t]) -> bool = c.ecs_each_next
|
|
633
|
+
public foreign function children(world: const_ptr[ecs_world_t], parent: ptr_uint) -> ecs_iter_t = c.ecs_children
|
|
634
|
+
public foreign function children_w_rel(world: const_ptr[ecs_world_t], relationship: ptr_uint, parent: ptr_uint) -> ecs_iter_t = c.ecs_children_w_rel
|
|
635
|
+
public foreign function children_next(it: ptr[ecs_iter_t]) -> bool = c.ecs_children_next
|
|
636
|
+
public foreign function query_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_query_desc_t]) -> ptr[ecs_query_t] = c.ecs_query_init
|
|
637
|
+
public foreign function query_update(world: ptr[ecs_world_t], entity: ptr_uint, desc: const_ptr[ecs_query_desc_t]) -> ptr[ecs_query_t] = c.ecs_query_update
|
|
638
|
+
public foreign function query_fini(query: ptr[ecs_query_t]) -> void = c.ecs_query_fini
|
|
639
|
+
public foreign function query_find_var(query: const_ptr[ecs_query_t], name: str as cstr) -> int = c.ecs_query_find_var
|
|
640
|
+
public foreign function query_var_name(query: const_ptr[ecs_query_t], var_id: int) -> cstr = c.ecs_query_var_name
|
|
641
|
+
public foreign function query_var_is_entity(query: const_ptr[ecs_query_t], var_id: int) -> bool = c.ecs_query_var_is_entity
|
|
642
|
+
public foreign function query_iter(world: const_ptr[ecs_world_t], query: const_ptr[ecs_query_t]) -> ecs_iter_t = c.ecs_query_iter
|
|
643
|
+
public foreign function query_next(it: ptr[ecs_iter_t]) -> bool = c.ecs_query_next
|
|
644
|
+
public foreign function query_has(query: const_ptr[ecs_query_t], entity: ptr_uint, it: ptr[ecs_iter_t]) -> bool = c.ecs_query_has
|
|
645
|
+
public foreign function query_has_table(query: const_ptr[ecs_query_t], table: ptr[ecs_table_t], it: ptr[ecs_iter_t]) -> bool = c.ecs_query_has_table
|
|
646
|
+
public foreign function query_has_range(query: const_ptr[ecs_query_t], range: ptr[ecs_table_range_t], it: ptr[ecs_iter_t]) -> bool = c.ecs_query_has_range
|
|
647
|
+
public foreign function query_match_count(query: const_ptr[ecs_query_t]) -> int = c.ecs_query_match_count
|
|
648
|
+
public foreign function query_plan(query: const_ptr[ecs_query_t]) -> ptr[char] = c.ecs_query_plan
|
|
649
|
+
public foreign function query_plan_w_profile(query: const_ptr[ecs_query_t], it: const_ptr[ecs_iter_t]) -> ptr[char] = c.ecs_query_plan_w_profile
|
|
650
|
+
public foreign function query_plans(query: const_ptr[ecs_query_t]) -> ptr[char] = c.ecs_query_plans
|
|
651
|
+
public foreign function query_args_parse(query: ptr[ecs_query_t], it: ptr[ecs_iter_t], expr: str as cstr) -> cstr = c.ecs_query_args_parse
|
|
652
|
+
public foreign function query_changed(query: ptr[ecs_query_t]) -> bool = c.ecs_query_changed
|
|
653
|
+
public foreign function query_get(world: const_ptr[ecs_world_t], query: ptr_uint) -> const_ptr[ecs_query_t] = c.ecs_query_get
|
|
654
|
+
public foreign function iter_skip(it: ptr[ecs_iter_t]) -> void = c.ecs_iter_skip
|
|
655
|
+
public foreign function iter_set_group(it: ptr[ecs_iter_t], group_id: ptr_uint) -> void = c.ecs_iter_set_group
|
|
656
|
+
public foreign function query_get_groups(query: const_ptr[ecs_query_t]) -> const_ptr[ecs_map_t] = c.ecs_query_get_groups
|
|
657
|
+
public foreign function query_get_group_ctx(query: const_ptr[ecs_query_t], group_id: ptr_uint) -> ptr[void] = c.ecs_query_get_group_ctx
|
|
658
|
+
public foreign function query_get_group_info(query: const_ptr[ecs_query_t], group_id: ptr_uint) -> const_ptr[ecs_query_group_info_t] = c.ecs_query_get_group_info
|
|
659
|
+
public foreign function query_count(query: const_ptr[ecs_query_t]) -> ecs_query_count_t = c.ecs_query_count
|
|
660
|
+
public foreign function query_is_true(query: const_ptr[ecs_query_t]) -> bool = c.ecs_query_is_true
|
|
661
|
+
public foreign function query_get_cache_query(query: const_ptr[ecs_query_t]) -> const_ptr[ecs_query_t] = c.ecs_query_get_cache_query
|
|
662
|
+
public foreign function emit_(world: ptr[ecs_world_t], desc: ptr[ecs_event_desc_t]) -> void = c.ecs_emit
|
|
663
|
+
public foreign function enqueue(world: ptr[ecs_world_t], desc: ptr[ecs_event_desc_t]) -> void = c.ecs_enqueue
|
|
664
|
+
public foreign function observer_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_observer_desc_t]) -> ecs_entity_t = c.ecs_observer_init
|
|
665
|
+
public foreign function observer_update(world: ptr[ecs_world_t], observer: ptr_uint, desc: const_ptr[ecs_observer_desc_t]) -> ecs_entity_t = c.ecs_observer_update
|
|
666
|
+
public foreign function observer_get(world: const_ptr[ecs_world_t], observer: ptr_uint) -> const_ptr[ecs_observer_t] = c.ecs_observer_get
|
|
667
|
+
public foreign function iter_next(it: ptr[ecs_iter_t]) -> bool = c.ecs_iter_next
|
|
668
|
+
public foreign function iter_fini(it: ptr[ecs_iter_t]) -> void = c.ecs_iter_fini
|
|
669
|
+
public foreign function iter_count(it: ptr[ecs_iter_t]) -> int = c.ecs_iter_count
|
|
670
|
+
public foreign function iter_is_true(it: ptr[ecs_iter_t]) -> bool = c.ecs_iter_is_true
|
|
671
|
+
public foreign function iter_first(it: ptr[ecs_iter_t]) -> ecs_entity_t = c.ecs_iter_first
|
|
672
|
+
public foreign function iter_set_var(it: ptr[ecs_iter_t], var_id: int, entity: ptr_uint) -> void = c.ecs_iter_set_var
|
|
673
|
+
public foreign function iter_set_var_as_table(it: ptr[ecs_iter_t], var_id: int, table: const_ptr[ecs_table_t]) -> void = c.ecs_iter_set_var_as_table
|
|
674
|
+
public foreign function iter_set_var_as_range(it: ptr[ecs_iter_t], var_id: int, range: const_ptr[ecs_table_range_t]) -> void = c.ecs_iter_set_var_as_range
|
|
675
|
+
public foreign function iter_get_var(it: ptr[ecs_iter_t], var_id: int) -> ecs_entity_t = c.ecs_iter_get_var
|
|
676
|
+
public foreign function iter_get_var_name(it: const_ptr[ecs_iter_t], var_id: int) -> cstr = c.ecs_iter_get_var_name
|
|
677
|
+
public foreign function iter_get_var_count(it: const_ptr[ecs_iter_t]) -> int = c.ecs_iter_get_var_count
|
|
678
|
+
public foreign function iter_get_vars(it: const_ptr[ecs_iter_t]) -> ptr[ecs_var_t] = c.ecs_iter_get_vars
|
|
679
|
+
public foreign function iter_get_var_as_table(it: ptr[ecs_iter_t], var_id: int) -> ptr[ecs_table_t] = c.ecs_iter_get_var_as_table
|
|
680
|
+
public foreign function iter_get_var_as_range(it: ptr[ecs_iter_t], var_id: int) -> ecs_table_range_t = c.ecs_iter_get_var_as_range
|
|
681
|
+
public foreign function iter_var_is_constrained(it: ptr[ecs_iter_t], var_id: int) -> bool = c.ecs_iter_var_is_constrained
|
|
682
|
+
public foreign function iter_get_group(it: const_ptr[ecs_iter_t]) -> ulong = c.ecs_iter_get_group
|
|
683
|
+
public foreign function iter_changed(it: ptr[ecs_iter_t]) -> bool = c.ecs_iter_changed
|
|
684
|
+
public foreign function iter_str(it: const_ptr[ecs_iter_t]) -> ptr[char] = c.ecs_iter_str
|
|
685
|
+
public foreign function page_iter(it: const_ptr[ecs_iter_t], offset: int, limit: int) -> ecs_iter_t = c.ecs_page_iter
|
|
686
|
+
public foreign function page_next(it: ptr[ecs_iter_t]) -> bool = c.ecs_page_next
|
|
687
|
+
public foreign function worker_iter(it: const_ptr[ecs_iter_t], index: int, count: int) -> ecs_iter_t = c.ecs_worker_iter
|
|
688
|
+
public foreign function worker_next(it: ptr[ecs_iter_t]) -> bool = c.ecs_worker_next
|
|
689
|
+
public foreign function field_w_size(it: const_ptr[ecs_iter_t], size: ptr_uint, index: byte) -> ptr[void] = c.ecs_field_w_size
|
|
690
|
+
public foreign function field_at_w_size(it: const_ptr[ecs_iter_t], size: ptr_uint, index: byte, row: int) -> ptr[void] = c.ecs_field_at_w_size
|
|
691
|
+
public foreign function field_is_readonly(it: const_ptr[ecs_iter_t], index: byte) -> bool = c.ecs_field_is_readonly
|
|
692
|
+
public foreign function field_is_writeonly(it: const_ptr[ecs_iter_t], index: byte) -> bool = c.ecs_field_is_writeonly
|
|
693
|
+
public foreign function field_is_set(it: const_ptr[ecs_iter_t], index: byte) -> bool = c.ecs_field_is_set
|
|
694
|
+
public foreign function field_id(it: const_ptr[ecs_iter_t], index: byte) -> ecs_id_t = c.ecs_field_id
|
|
695
|
+
public foreign function field_column(it: const_ptr[ecs_iter_t], index: byte) -> int = c.ecs_field_column
|
|
696
|
+
public foreign function field_src(it: const_ptr[ecs_iter_t], index: byte) -> ecs_entity_t = c.ecs_field_src
|
|
697
|
+
public foreign function field_size(it: const_ptr[ecs_iter_t], index: byte) -> ptr_uint = c.ecs_field_size
|
|
698
|
+
public foreign function field_is_self(it: const_ptr[ecs_iter_t], index: byte) -> bool = c.ecs_field_is_self
|
|
699
|
+
public foreign function table_get_type(table: const_ptr[ecs_table_t]) -> const_ptr[ecs_type_t] = c.ecs_table_get_type
|
|
700
|
+
public foreign function table_get_type_index(world: const_ptr[ecs_world_t], table: const_ptr[ecs_table_t], component: ptr_uint) -> int = c.ecs_table_get_type_index
|
|
701
|
+
public foreign function table_get_column_index(world: const_ptr[ecs_world_t], table: const_ptr[ecs_table_t], component: ptr_uint) -> int = c.ecs_table_get_column_index
|
|
702
|
+
public foreign function table_column_count(table: const_ptr[ecs_table_t]) -> int = c.ecs_table_column_count
|
|
703
|
+
public foreign function table_type_to_column_index(table: const_ptr[ecs_table_t], index: int) -> int = c.ecs_table_type_to_column_index
|
|
704
|
+
public foreign function table_column_to_type_index(table: const_ptr[ecs_table_t], index: int) -> int = c.ecs_table_column_to_type_index
|
|
705
|
+
public foreign function table_get_column(table: const_ptr[ecs_table_t], index: int, offset: int) -> ptr[void] = c.ecs_table_get_column
|
|
706
|
+
public foreign function table_get_id(world: const_ptr[ecs_world_t], table: const_ptr[ecs_table_t], component: ptr_uint, offset: int) -> ptr[void] = c.ecs_table_get_id
|
|
707
|
+
public foreign function table_get_column_size(table: const_ptr[ecs_table_t], index: int) -> ptr_uint = c.ecs_table_get_column_size
|
|
708
|
+
public foreign function table_count(table: const_ptr[ecs_table_t]) -> int = c.ecs_table_count
|
|
709
|
+
public foreign function table_size(table: const_ptr[ecs_table_t]) -> int = c.ecs_table_size
|
|
710
|
+
public foreign function table_entities(table: const_ptr[ecs_table_t]) -> const_ptr[ecs_entity_t] = c.ecs_table_entities
|
|
711
|
+
public foreign function table_has_id(world: const_ptr[ecs_world_t], table: const_ptr[ecs_table_t], component: ptr_uint) -> bool = c.ecs_table_has_id
|
|
712
|
+
public foreign function table_get_target(world: const_ptr[ecs_world_t], table: const_ptr[ecs_table_t], relationship: ptr_uint, index: int) -> ecs_entity_t = c.ecs_table_get_target
|
|
713
|
+
public foreign function table_get_depth(world: const_ptr[ecs_world_t], table: const_ptr[ecs_table_t], rel: ptr_uint) -> int = c.ecs_table_get_depth
|
|
714
|
+
public foreign function table_add_id(world: ptr[ecs_world_t], table: ptr[ecs_table_t], component: ptr_uint) -> ptr[ecs_table_t] = c.ecs_table_add_id
|
|
715
|
+
public foreign function table_find(world: ptr[ecs_world_t], ids: const_ptr[ecs_id_t], id_count: int) -> ptr[ecs_table_t] = c.ecs_table_find
|
|
716
|
+
public foreign function table_remove_id(world: ptr[ecs_world_t], table: ptr[ecs_table_t], component: ptr_uint) -> ptr[ecs_table_t] = c.ecs_table_remove_id
|
|
717
|
+
public foreign function table_lock(world: ptr[ecs_world_t], table: ptr[ecs_table_t]) -> void = c.ecs_table_lock
|
|
718
|
+
public foreign function table_unlock(world: ptr[ecs_world_t], table: ptr[ecs_table_t]) -> void = c.ecs_table_unlock
|
|
719
|
+
public foreign function table_has_flags(table: ptr[ecs_table_t], flags_: uint) -> bool = c.ecs_table_has_flags
|
|
720
|
+
public foreign function table_has_traversable(table: const_ptr[ecs_table_t]) -> bool = c.ecs_table_has_traversable
|
|
721
|
+
public foreign function table_swap_rows(world: ptr[ecs_world_t], table: ptr[ecs_table_t], row_1: int, row_2: int) -> void = c.ecs_table_swap_rows
|
|
722
|
+
public foreign function commit(world: ptr[ecs_world_t], entity: ptr_uint, record: ptr[ecs_record_t], table: ptr[ecs_table_t], added: const_ptr[ecs_type_t], removed: const_ptr[ecs_type_t]) -> bool = c.ecs_commit
|
|
723
|
+
public foreign function search(world: const_ptr[ecs_world_t], table: const_ptr[ecs_table_t], component: ptr_uint, component_out: ptr[ecs_id_t]) -> int = c.ecs_search
|
|
724
|
+
public foreign function search_offset(world: const_ptr[ecs_world_t], table: const_ptr[ecs_table_t], offset: int, component: ptr_uint, component_out: ptr[ecs_id_t]) -> int = c.ecs_search_offset
|
|
725
|
+
public foreign function search_relation(world: const_ptr[ecs_world_t], table: const_ptr[ecs_table_t], offset: int, component: ptr_uint, rel: ptr_uint, flags_: ptr_uint, tgt_out: ptr[ecs_entity_t], component_out: ptr[ecs_id_t], tr_out: ptr[ptr[ecs_table_record_t]]) -> int = c.ecs_search_relation
|
|
726
|
+
public foreign function search_relation_for_entity(world: const_ptr[ecs_world_t], entity: ptr_uint, id: ptr_uint, rel: ptr_uint, self: bool, cr: ptr[ecs_component_record_t], tgt_out: ptr[ecs_entity_t], id_out: ptr[ecs_id_t], tr_out: ptr[ptr[ecs_table_record_t]]) -> int = c.ecs_search_relation_for_entity
|
|
727
|
+
public foreign function table_clear_entities(world: ptr[ecs_world_t], table: ptr[ecs_table_t]) -> void = c.ecs_table_clear_entities
|
|
728
|
+
public foreign function value_init(world: const_ptr[ecs_world_t], type_: ptr_uint, ptr: ptr[void]) -> int = c.ecs_value_init
|
|
729
|
+
public foreign function value_init_w_type_info(world: const_ptr[ecs_world_t], ti: const_ptr[ecs_type_info_t], ptr: ptr[void]) -> int = c.ecs_value_init_w_type_info
|
|
730
|
+
public foreign function value_new(world: ptr[ecs_world_t], type_: ptr_uint) -> ptr[void] = c.ecs_value_new
|
|
731
|
+
public foreign function value_new_w_type_info(world: ptr[ecs_world_t], ti: const_ptr[ecs_type_info_t]) -> ptr[void] = c.ecs_value_new_w_type_info
|
|
732
|
+
public foreign function value_fini_w_type_info(world: const_ptr[ecs_world_t], ti: const_ptr[ecs_type_info_t], ptr: ptr[void]) -> int = c.ecs_value_fini_w_type_info
|
|
733
|
+
public foreign function value_fini(world: const_ptr[ecs_world_t], type_: ptr_uint, ptr: ptr[void]) -> int = c.ecs_value_fini
|
|
734
|
+
public foreign function value_free(world: ptr[ecs_world_t], type_: ptr_uint, ptr: ptr[void]) -> int = c.ecs_value_free
|
|
735
|
+
public foreign function value_copy_w_type_info(world: const_ptr[ecs_world_t], ti: const_ptr[ecs_type_info_t], dst: ptr[void], src: const_ptr[void]) -> int = c.ecs_value_copy_w_type_info
|
|
736
|
+
public foreign function value_copy(world: const_ptr[ecs_world_t], type_: ptr_uint, dst: ptr[void], src: const_ptr[void]) -> int = c.ecs_value_copy
|
|
737
|
+
public foreign function value_move_w_type_info(world: const_ptr[ecs_world_t], ti: const_ptr[ecs_type_info_t], dst: ptr[void], src: ptr[void]) -> int = c.ecs_value_move_w_type_info
|
|
738
|
+
public foreign function value_move(world: const_ptr[ecs_world_t], type_: ptr_uint, dst: ptr[void], src: ptr[void]) -> int = c.ecs_value_move
|
|
739
|
+
public foreign function value_move_ctor_w_type_info(world: const_ptr[ecs_world_t], ti: const_ptr[ecs_type_info_t], dst: ptr[void], src: ptr[void]) -> int = c.ecs_value_move_ctor_w_type_info
|
|
740
|
+
public foreign function value_move_ctor(world: const_ptr[ecs_world_t], type_: ptr_uint, dst: ptr[void], src: ptr[void]) -> int = c.ecs_value_move_ctor
|
|
741
|
+
public foreign function deprecated_(file: str as cstr, line: int, msg: str as cstr) -> void = c.ecs_deprecated_
|
|
742
|
+
public foreign function log_push_(level: int) -> void = c.ecs_log_push_
|
|
743
|
+
public foreign function log_pop_(level: int) -> void = c.ecs_log_pop_
|
|
744
|
+
public foreign function should_log(level: int) -> bool = c.ecs_should_log
|
|
745
|
+
public foreign function strerror(error_code: int) -> cstr = c.ecs_strerror
|
|
746
|
+
public foreign function print_(level: int, file: str as cstr, line: int, fmt: str as cstr, ...) -> void = c.ecs_print_
|
|
747
|
+
public foreign function printv_(level: int, file: str as cstr, line: int, fmt: str as cstr, args: va_list) -> void = c.ecs_printv_
|
|
748
|
+
public foreign function log_(level: int, file: str as cstr, line: int, fmt: str as cstr, ...) -> void = c.ecs_log_
|
|
749
|
+
public foreign function logv_(level: int, file: str as cstr, line: int, fmt: str as cstr, args: va_list) -> void = c.ecs_logv_
|
|
750
|
+
public foreign function abort_(error_code: int, file: str as cstr, line: int, fmt: str as cstr, ...) -> void = c.ecs_abort_
|
|
751
|
+
public foreign function assert_log_(error_code: int, condition_str: str as cstr, file: str as cstr, line: int, fmt: str as cstr, ...) -> void = c.ecs_assert_log_
|
|
752
|
+
public foreign function parser_error_(name: str as cstr, expr: str as cstr, column: ptr_int, fmt: str as cstr, ...) -> void = c.ecs_parser_error_
|
|
753
|
+
public foreign function parser_errorv_(name: str as cstr, expr: str as cstr, column: ptr_int, fmt: str as cstr, args: va_list) -> void = c.ecs_parser_errorv_
|
|
754
|
+
public foreign function parser_warning_(name: str as cstr, expr: str as cstr, column: ptr_int, fmt: str as cstr, ...) -> void = c.ecs_parser_warning_
|
|
755
|
+
public foreign function parser_warningv_(name: str as cstr, expr: str as cstr, column: ptr_int, fmt: str as cstr, args: va_list) -> void = c.ecs_parser_warningv_
|
|
756
|
+
public foreign function log_set_level(level: int) -> int = c.ecs_log_set_level
|
|
757
|
+
public foreign function log_get_level() -> int = c.ecs_log_get_level
|
|
758
|
+
public foreign function log_enable_colors(enabled: bool) -> bool = c.ecs_log_enable_colors
|
|
759
|
+
public foreign function log_enable_timestamp(enabled: bool) -> bool = c.ecs_log_enable_timestamp
|
|
760
|
+
public foreign function log_enable_timedelta(enabled: bool) -> bool = c.ecs_log_enable_timedelta
|
|
761
|
+
public foreign function log_last_error() -> int = c.ecs_log_last_error
|
|
762
|
+
public foreign function log_start_capture(capture_try: bool) -> void = c.ecs_log_start_capture
|
|
763
|
+
public foreign function log_stop_capture() -> ptr[char] = c.ecs_log_stop_capture
|
|
764
|
+
public foreign function app_run(world: ptr[ecs_world_t], desc: ptr[ecs_app_desc_t]) -> int = c.ecs_app_run
|
|
765
|
+
public foreign function app_run_frame(world: ptr[ecs_world_t], desc: const_ptr[ecs_app_desc_t]) -> int = c.ecs_app_run_frame
|
|
766
|
+
public foreign function app_set_run_action(callback: fn(arg0: ptr[ecs_world_t], arg1: ptr[ecs_app_desc_t]) -> int) -> int = c.ecs_app_set_run_action
|
|
767
|
+
public foreign function app_set_frame_action(callback: fn(arg0: ptr[ecs_world_t], arg1: const_ptr[ecs_app_desc_t]) -> int) -> int = c.ecs_app_set_frame_action
|
|
768
|
+
public foreign function http_server_init(desc: const_ptr[ecs_http_server_desc_t]) -> ptr[ecs_http_server_t] = c.ecs_http_server_init
|
|
769
|
+
public foreign function http_server_fini(server: ptr[ecs_http_server_t]) -> void = c.ecs_http_server_fini
|
|
770
|
+
public foreign function http_server_start(server: ptr[ecs_http_server_t]) -> int = c.ecs_http_server_start
|
|
771
|
+
public foreign function http_server_dequeue(server: ptr[ecs_http_server_t], delta_time: float) -> void = c.ecs_http_server_dequeue
|
|
772
|
+
public foreign function http_server_stop(server: ptr[ecs_http_server_t]) -> void = c.ecs_http_server_stop
|
|
773
|
+
public foreign function http_server_http_request(srv: ptr[ecs_http_server_t], req: str as cstr, len: int, reply_out: ptr[ecs_http_reply_t]) -> int = c.ecs_http_server_http_request
|
|
774
|
+
public foreign function http_server_request(srv: ptr[ecs_http_server_t], method: str as cstr, req: str as cstr, body: str as cstr, reply_out: ptr[ecs_http_reply_t]) -> int = c.ecs_http_server_request
|
|
775
|
+
public foreign function http_server_ctx(srv: ptr[ecs_http_server_t]) -> ptr[void] = c.ecs_http_server_ctx
|
|
776
|
+
public foreign function http_get_header(req: const_ptr[ecs_http_request_t], name: str as cstr) -> cstr = c.ecs_http_get_header
|
|
777
|
+
public foreign function http_get_param(req: const_ptr[ecs_http_request_t], name: str as cstr) -> cstr = c.ecs_http_get_param
|
|
778
|
+
public foreign function rest_server_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_http_server_desc_t]) -> ptr[ecs_http_server_t] = c.ecs_rest_server_init
|
|
779
|
+
public foreign function rest_server_fini(srv: ptr[ecs_http_server_t]) -> void = c.ecs_rest_server_fini
|
|
780
|
+
public foreign function set_timeout(world: ptr[ecs_world_t], tick_source: ptr_uint, timeout: float) -> ecs_entity_t = c.ecs_set_timeout
|
|
781
|
+
public foreign function get_timeout(world: const_ptr[ecs_world_t], tick_source: ptr_uint) -> float = c.ecs_get_timeout
|
|
782
|
+
public foreign function set_interval(world: ptr[ecs_world_t], tick_source: ptr_uint, interval: float) -> ecs_entity_t = c.ecs_set_interval
|
|
783
|
+
public foreign function get_interval(world: const_ptr[ecs_world_t], tick_source: ptr_uint) -> float = c.ecs_get_interval
|
|
784
|
+
public foreign function start_timer(world: ptr[ecs_world_t], tick_source: ptr_uint) -> void = c.ecs_start_timer
|
|
785
|
+
public foreign function stop_timer(world: ptr[ecs_world_t], tick_source: ptr_uint) -> void = c.ecs_stop_timer
|
|
786
|
+
public foreign function reset_timer(world: ptr[ecs_world_t], tick_source: ptr_uint) -> void = c.ecs_reset_timer
|
|
787
|
+
public foreign function randomize_timers(world: ptr[ecs_world_t]) -> void = c.ecs_randomize_timers
|
|
788
|
+
public foreign function set_rate(world: ptr[ecs_world_t], tick_source: ptr_uint, rate: int, source: ptr_uint) -> ecs_entity_t = c.ecs_set_rate
|
|
789
|
+
public foreign function set_tick_source(world: ptr[ecs_world_t], system: ptr_uint, tick_source: ptr_uint) -> void = c.ecs_set_tick_source
|
|
790
|
+
public foreign function pipeline_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_pipeline_desc_t]) -> ecs_entity_t = c.ecs_pipeline_init
|
|
791
|
+
public foreign function pipeline_update(world: ptr[ecs_world_t], pipeline: ptr_uint, desc: const_ptr[ecs_pipeline_desc_t]) -> ecs_entity_t = c.ecs_pipeline_update
|
|
792
|
+
public foreign function set_pipeline(world: ptr[ecs_world_t], pipeline: ptr_uint) -> void = c.ecs_set_pipeline
|
|
793
|
+
public foreign function get_pipeline(world: const_ptr[ecs_world_t]) -> ecs_entity_t = c.ecs_get_pipeline
|
|
794
|
+
public foreign function progress(world: ptr[ecs_world_t], delta_time: float) -> bool = c.ecs_progress
|
|
795
|
+
public foreign function set_time_scale(world: ptr[ecs_world_t], scale: float) -> void = c.ecs_set_time_scale
|
|
796
|
+
public foreign function reset_clock(world: ptr[ecs_world_t]) -> void = c.ecs_reset_clock
|
|
797
|
+
public foreign function run_pipeline(world: ptr[ecs_world_t], pipeline: ptr_uint, delta_time: float) -> void = c.ecs_run_pipeline
|
|
798
|
+
public foreign function set_threads(world: ptr[ecs_world_t], threads: int) -> void = c.ecs_set_threads
|
|
799
|
+
public foreign function set_task_threads(world: ptr[ecs_world_t], task_threads: int) -> void = c.ecs_set_task_threads
|
|
800
|
+
public foreign function using_task_threads(world: ptr[ecs_world_t]) -> bool = c.ecs_using_task_threads
|
|
801
|
+
public foreign function system_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_system_desc_t]) -> ecs_entity_t = c.ecs_system_init
|
|
802
|
+
public foreign function system_update(world: ptr[ecs_world_t], system: ptr_uint, desc: const_ptr[ecs_system_desc_t]) -> ecs_entity_t = c.ecs_system_update
|
|
803
|
+
public foreign function system_get(world: const_ptr[ecs_world_t], system: ptr_uint) -> const_ptr[ecs_system_t] = c.ecs_system_get
|
|
804
|
+
public foreign function system_set_group(world: ptr[ecs_world_t], system: ptr_uint, group_id: ptr_uint) -> void = c.ecs_system_set_group
|
|
805
|
+
public foreign function run(world: ptr[ecs_world_t], system: ptr_uint, delta_time: float, param: ptr[void]) -> ecs_entity_t = c.ecs_run
|
|
806
|
+
public foreign function run_worker(world: ptr[ecs_world_t], system: ptr_uint, stage_current: int, stage_count: int, delta_time: float, param: ptr[void]) -> ecs_entity_t = c.ecs_run_worker
|
|
807
|
+
public foreign function world_stats_get(world: const_ptr[ecs_world_t], stats: ptr[ecs_world_stats_t]) -> void = c.ecs_world_stats_get
|
|
808
|
+
public foreign function world_stats_reduce(dst: ptr[ecs_world_stats_t], src: const_ptr[ecs_world_stats_t]) -> void = c.ecs_world_stats_reduce
|
|
809
|
+
public foreign function world_stats_reduce_last(stats: ptr[ecs_world_stats_t], old: const_ptr[ecs_world_stats_t], count: int) -> void = c.ecs_world_stats_reduce_last
|
|
810
|
+
public foreign function world_stats_repeat_last(stats: ptr[ecs_world_stats_t]) -> void = c.ecs_world_stats_repeat_last
|
|
811
|
+
public foreign function world_stats_copy_last(dst: ptr[ecs_world_stats_t], src: const_ptr[ecs_world_stats_t]) -> void = c.ecs_world_stats_copy_last
|
|
812
|
+
public foreign function world_stats_log(world: const_ptr[ecs_world_t], stats: const_ptr[ecs_world_stats_t]) -> void = c.ecs_world_stats_log
|
|
813
|
+
public foreign function query_stats_get(world: const_ptr[ecs_world_t], query: const_ptr[ecs_query_t], stats: ptr[ecs_query_stats_t]) -> void = c.ecs_query_stats_get
|
|
814
|
+
public foreign function query_cache_stats_reduce(dst: ptr[ecs_query_stats_t], src: const_ptr[ecs_query_stats_t]) -> void = c.ecs_query_cache_stats_reduce
|
|
815
|
+
public foreign function query_cache_stats_reduce_last(stats: ptr[ecs_query_stats_t], old: const_ptr[ecs_query_stats_t], count: int) -> void = c.ecs_query_cache_stats_reduce_last
|
|
816
|
+
public foreign function query_cache_stats_repeat_last(stats: ptr[ecs_query_stats_t]) -> void = c.ecs_query_cache_stats_repeat_last
|
|
817
|
+
public foreign function query_cache_stats_copy_last(dst: ptr[ecs_query_stats_t], src: const_ptr[ecs_query_stats_t]) -> void = c.ecs_query_cache_stats_copy_last
|
|
818
|
+
public foreign function system_stats_get(world: const_ptr[ecs_world_t], system: ptr_uint, stats: ptr[ecs_system_stats_t]) -> bool = c.ecs_system_stats_get
|
|
819
|
+
public foreign function system_stats_reduce(dst: ptr[ecs_system_stats_t], src: const_ptr[ecs_system_stats_t]) -> void = c.ecs_system_stats_reduce
|
|
820
|
+
public foreign function system_stats_reduce_last(stats: ptr[ecs_system_stats_t], old: const_ptr[ecs_system_stats_t], count: int) -> void = c.ecs_system_stats_reduce_last
|
|
821
|
+
public foreign function system_stats_repeat_last(stats: ptr[ecs_system_stats_t]) -> void = c.ecs_system_stats_repeat_last
|
|
822
|
+
public foreign function system_stats_copy_last(dst: ptr[ecs_system_stats_t], src: const_ptr[ecs_system_stats_t]) -> void = c.ecs_system_stats_copy_last
|
|
823
|
+
public foreign function pipeline_stats_get(world: ptr[ecs_world_t], pipeline: ptr_uint, stats: ptr[ecs_pipeline_stats_t]) -> bool = c.ecs_pipeline_stats_get
|
|
824
|
+
public foreign function pipeline_stats_fini(stats: ptr[ecs_pipeline_stats_t]) -> void = c.ecs_pipeline_stats_fini
|
|
825
|
+
public foreign function pipeline_stats_reduce(dst: ptr[ecs_pipeline_stats_t], src: const_ptr[ecs_pipeline_stats_t]) -> void = c.ecs_pipeline_stats_reduce
|
|
826
|
+
public foreign function pipeline_stats_reduce_last(stats: ptr[ecs_pipeline_stats_t], old: const_ptr[ecs_pipeline_stats_t], count: int) -> void = c.ecs_pipeline_stats_reduce_last
|
|
827
|
+
public foreign function pipeline_stats_repeat_last(stats: ptr[ecs_pipeline_stats_t]) -> void = c.ecs_pipeline_stats_repeat_last
|
|
828
|
+
public foreign function pipeline_stats_copy_last(dst: ptr[ecs_pipeline_stats_t], src: const_ptr[ecs_pipeline_stats_t]) -> void = c.ecs_pipeline_stats_copy_last
|
|
829
|
+
public foreign function metric_reduce(dst: ptr[ecs_metric_t], src: const_ptr[ecs_metric_t], t_dst: int, t_src: int) -> void = c.ecs_metric_reduce
|
|
830
|
+
public foreign function metric_reduce_last(m: ptr[ecs_metric_t], t: int, count: int) -> void = c.ecs_metric_reduce_last
|
|
831
|
+
public foreign function metric_copy(m: ptr[ecs_metric_t], dst: int, src: int) -> void = c.ecs_metric_copy
|
|
832
|
+
public foreign function entity_memory_get(world: const_ptr[ecs_world_t]) -> ecs_entities_memory_t = c.ecs_entity_memory_get
|
|
833
|
+
public foreign function component_record_memory_get(cr: const_ptr[ecs_component_record_t], result: ptr[ecs_component_index_memory_t]) -> void = c.ecs_component_record_memory_get
|
|
834
|
+
public foreign function component_index_memory_get(world: const_ptr[ecs_world_t]) -> ecs_component_index_memory_t = c.ecs_component_index_memory_get
|
|
835
|
+
public foreign function query_memory_get(query: const_ptr[ecs_query_t], result: ptr[ecs_query_memory_t]) -> void = c.ecs_query_memory_get
|
|
836
|
+
public foreign function queries_memory_get(world: const_ptr[ecs_world_t]) -> ecs_query_memory_t = c.ecs_queries_memory_get
|
|
837
|
+
public foreign function table_component_memory_get(table: const_ptr[ecs_table_t], result: ptr[ecs_component_memory_t]) -> void = c.ecs_table_component_memory_get
|
|
838
|
+
public foreign function component_memory_get(world: const_ptr[ecs_world_t]) -> ecs_component_memory_t = c.ecs_component_memory_get
|
|
839
|
+
public foreign function table_memory_get(table: const_ptr[ecs_table_t], result: ptr[ecs_table_memory_t]) -> void = c.ecs_table_memory_get
|
|
840
|
+
public foreign function tables_memory_get(world: const_ptr[ecs_world_t]) -> ecs_table_memory_t = c.ecs_tables_memory_get
|
|
841
|
+
public foreign function table_histogram_get(world: const_ptr[ecs_world_t]) -> ecs_table_histogram_t = c.ecs_table_histogram_get
|
|
842
|
+
public foreign function misc_memory_get(world: const_ptr[ecs_world_t]) -> ecs_misc_memory_t = c.ecs_misc_memory_get
|
|
843
|
+
public foreign function allocator_memory_get(world: const_ptr[ecs_world_t]) -> ecs_allocator_memory_t = c.ecs_allocator_memory_get
|
|
844
|
+
public foreign function memory_get(world: const_ptr[ecs_world_t]) -> ecs_size_t = c.ecs_memory_get
|
|
845
|
+
public foreign function metric_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_metric_desc_t]) -> ecs_entity_t = c.ecs_metric_init
|
|
846
|
+
public foreign function alert_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_alert_desc_t]) -> ecs_entity_t = c.ecs_alert_init
|
|
847
|
+
public foreign function get_alert_count(world: const_ptr[ecs_world_t], entity: ptr_uint, alert: ptr_uint) -> int = c.ecs_get_alert_count
|
|
848
|
+
public foreign function get_alert(world: const_ptr[ecs_world_t], entity: ptr_uint, alert: ptr_uint) -> ecs_entity_t = c.ecs_get_alert
|
|
849
|
+
public foreign function ptr_from_json(world: const_ptr[ecs_world_t], type_: ptr_uint, ptr: ptr[void], json: str as cstr, desc: const_ptr[ecs_from_json_desc_t]) -> cstr = c.ecs_ptr_from_json
|
|
850
|
+
public foreign function entity_from_json(world: ptr[ecs_world_t], entity: ptr_uint, json: str as cstr, desc: const_ptr[ecs_from_json_desc_t]) -> cstr = c.ecs_entity_from_json
|
|
851
|
+
public foreign function world_from_json(world: ptr[ecs_world_t], json: str as cstr, desc: const_ptr[ecs_from_json_desc_t]) -> cstr = c.ecs_world_from_json
|
|
852
|
+
public foreign function world_from_json_file(world: ptr[ecs_world_t], filename: str as cstr, desc: const_ptr[ecs_from_json_desc_t]) -> cstr = c.ecs_world_from_json_file
|
|
853
|
+
public foreign function array_to_json(world: const_ptr[ecs_world_t], type_: ptr_uint, data: const_ptr[void], count: int) -> ptr[char] = c.ecs_array_to_json
|
|
854
|
+
public foreign function array_to_json_buf(world: const_ptr[ecs_world_t], type_: ptr_uint, data: const_ptr[void], count: int, buf_out: ptr[ecs_strbuf_t]) -> int = c.ecs_array_to_json_buf
|
|
855
|
+
public foreign function ptr_to_json(world: const_ptr[ecs_world_t], type_: ptr_uint, data: const_ptr[void]) -> ptr[char] = c.ecs_ptr_to_json
|
|
856
|
+
public foreign function ptr_to_json_buf(world: const_ptr[ecs_world_t], type_: ptr_uint, data: const_ptr[void], buf_out: ptr[ecs_strbuf_t]) -> int = c.ecs_ptr_to_json_buf
|
|
857
|
+
public foreign function type_info_to_json(world: const_ptr[ecs_world_t], type_: ptr_uint) -> ptr[char] = c.ecs_type_info_to_json
|
|
858
|
+
public foreign function type_info_to_json_buf(world: const_ptr[ecs_world_t], type_: ptr_uint, buf_out: ptr[ecs_strbuf_t]) -> int = c.ecs_type_info_to_json_buf
|
|
859
|
+
public foreign function entity_to_json(world: ptr[ecs_world_t], entity: ptr_uint, desc: const_ptr[ecs_entity_to_json_desc_t]) -> ptr[char] = c.ecs_entity_to_json
|
|
860
|
+
public foreign function entity_to_json_buf(world: ptr[ecs_world_t], entity: ptr_uint, buf_out: ptr[ecs_strbuf_t], desc: const_ptr[ecs_entity_to_json_desc_t]) -> int = c.ecs_entity_to_json_buf
|
|
861
|
+
public foreign function iter_to_json(iter: ptr[ecs_iter_t], desc: const_ptr[ecs_iter_to_json_desc_t]) -> ptr[char] = c.ecs_iter_to_json
|
|
862
|
+
public foreign function iter_to_json_buf(iter: ptr[ecs_iter_t], buf_out: ptr[ecs_strbuf_t], desc: const_ptr[ecs_iter_to_json_desc_t]) -> int = c.ecs_iter_to_json_buf
|
|
863
|
+
public foreign function world_to_json(world: ptr[ecs_world_t], desc: const_ptr[ecs_world_to_json_desc_t]) -> ptr[char] = c.ecs_world_to_json
|
|
864
|
+
public foreign function world_to_json_buf(world: ptr[ecs_world_t], buf_out: ptr[ecs_strbuf_t], desc: const_ptr[ecs_world_to_json_desc_t]) -> int = c.ecs_world_to_json_buf
|
|
865
|
+
public foreign function script_parse(world: ptr[ecs_world_t], name: str as cstr, code: str as cstr, desc: const_ptr[ecs_script_eval_desc_t], result: ptr[ecs_script_eval_result_t]) -> ptr[ecs_script_t] = c.ecs_script_parse
|
|
866
|
+
public foreign function script_eval(script: const_ptr[ecs_script_t], desc: const_ptr[ecs_script_eval_desc_t], result: ptr[ecs_script_eval_result_t]) -> int = c.ecs_script_eval
|
|
867
|
+
public foreign function script_free(script: ptr[ecs_script_t]) -> void = c.ecs_script_free
|
|
868
|
+
public foreign function script_run(world: ptr[ecs_world_t], name: str as cstr, code: str as cstr, result: ptr[ecs_script_eval_result_t]) -> int = c.ecs_script_run
|
|
869
|
+
public foreign function script_run_file(world: ptr[ecs_world_t], filename: str as cstr) -> int = c.ecs_script_run_file
|
|
870
|
+
public foreign function script_runtime_new() -> ptr[ecs_script_runtime_t] = c.ecs_script_runtime_new
|
|
871
|
+
public foreign function script_runtime_free(runtime: ptr[ecs_script_runtime_t]) -> void = c.ecs_script_runtime_free
|
|
872
|
+
public foreign function script_ast_to_buf(script: ptr[ecs_script_t], buf: ptr[ecs_strbuf_t], colors: bool) -> int = c.ecs_script_ast_to_buf
|
|
873
|
+
public foreign function script_ast_to_str(script: ptr[ecs_script_t], colors: bool) -> ptr[char] = c.ecs_script_ast_to_str
|
|
874
|
+
public foreign function script_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_script_desc_t]) -> ecs_entity_t = c.ecs_script_init
|
|
875
|
+
public foreign function script_update(world: ptr[ecs_world_t], script: ptr_uint, instance: ptr_uint, code: str as cstr) -> int = c.ecs_script_update
|
|
876
|
+
public foreign function script_clear(world: ptr[ecs_world_t], script: ptr_uint, instance: ptr_uint) -> void = c.ecs_script_clear
|
|
877
|
+
public foreign function script_vars_init(world: ptr[ecs_world_t]) -> ptr[ecs_script_vars_t] = c.ecs_script_vars_init
|
|
878
|
+
public foreign function script_vars_fini(vars: ptr[ecs_script_vars_t]) -> void = c.ecs_script_vars_fini
|
|
879
|
+
public foreign function script_vars_push(parent: ptr[ecs_script_vars_t]) -> ptr[ecs_script_vars_t] = c.ecs_script_vars_push
|
|
880
|
+
public foreign function script_vars_pop(vars: ptr[ecs_script_vars_t]) -> ptr[ecs_script_vars_t] = c.ecs_script_vars_pop
|
|
881
|
+
public foreign function script_vars_declare(vars: ptr[ecs_script_vars_t], name: str as cstr) -> ptr[ecs_script_var_t] = c.ecs_script_vars_declare
|
|
882
|
+
public foreign function script_vars_define_id(vars: ptr[ecs_script_vars_t], name: str as cstr, type_: ptr_uint) -> ptr[ecs_script_var_t] = c.ecs_script_vars_define_id
|
|
883
|
+
public foreign function script_vars_lookup(vars: const_ptr[ecs_script_vars_t], name: str as cstr) -> ptr[ecs_script_var_t] = c.ecs_script_vars_lookup
|
|
884
|
+
public foreign function script_vars_from_sp(vars: const_ptr[ecs_script_vars_t], sp: int) -> ptr[ecs_script_var_t] = c.ecs_script_vars_from_sp
|
|
885
|
+
public foreign function script_vars_print(vars: const_ptr[ecs_script_vars_t]) -> void = c.ecs_script_vars_print
|
|
886
|
+
public foreign function script_vars_set_size(vars: ptr[ecs_script_vars_t], count: int) -> void = c.ecs_script_vars_set_size
|
|
887
|
+
public foreign function script_vars_from_iter(it: const_ptr[ecs_iter_t], vars: ptr[ecs_script_vars_t], offset: int) -> void = c.ecs_script_vars_from_iter
|
|
888
|
+
public foreign function expr_run(world: ptr[ecs_world_t], ptr: str as cstr, value: ptr[ecs_value_t], desc: const_ptr[ecs_expr_eval_desc_t]) -> cstr = c.ecs_expr_run
|
|
889
|
+
public foreign function expr_parse(world: ptr[ecs_world_t], expr: str as cstr, desc: const_ptr[ecs_expr_eval_desc_t]) -> ptr[ecs_script_t] = c.ecs_expr_parse
|
|
890
|
+
public foreign function expr_eval(script: const_ptr[ecs_script_t], value: ptr[ecs_value_t], desc: const_ptr[ecs_expr_eval_desc_t]) -> int = c.ecs_expr_eval
|
|
891
|
+
public foreign function script_string_interpolate(world: ptr[ecs_world_t], str_: str as cstr, vars: const_ptr[ecs_script_vars_t]) -> ptr[char] = c.ecs_script_string_interpolate
|
|
892
|
+
public foreign function const_var_init(world: ptr[ecs_world_t], desc: ptr[ecs_const_var_desc_t]) -> ecs_entity_t = c.ecs_const_var_init
|
|
893
|
+
public foreign function const_var_get(world: const_ptr[ecs_world_t], var_: ptr_uint) -> ecs_value_t = c.ecs_const_var_get
|
|
894
|
+
public foreign function function_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_function_desc_t]) -> ecs_entity_t = c.ecs_function_init
|
|
895
|
+
public foreign function method_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_function_desc_t]) -> ecs_entity_t = c.ecs_method_init
|
|
896
|
+
public foreign function ptr_to_expr(world: const_ptr[ecs_world_t], type_: ptr_uint, data: const_ptr[void]) -> ptr[char] = c.ecs_ptr_to_expr
|
|
897
|
+
public foreign function ptr_to_expr_buf(world: const_ptr[ecs_world_t], type_: ptr_uint, data: const_ptr[void], buf: ptr[ecs_strbuf_t]) -> int = c.ecs_ptr_to_expr_buf
|
|
898
|
+
public foreign function ptr_to_str(world: const_ptr[ecs_world_t], type_: ptr_uint, data: const_ptr[void]) -> ptr[char] = c.ecs_ptr_to_str
|
|
899
|
+
public foreign function ptr_to_str_buf(world: const_ptr[ecs_world_t], type_: ptr_uint, data: const_ptr[void], buf: ptr[ecs_strbuf_t]) -> int = c.ecs_ptr_to_str_buf
|
|
900
|
+
public foreign function doc_set_uuid(world: ptr[ecs_world_t], entity: ptr_uint, uuid: str as cstr) -> void = c.ecs_doc_set_uuid
|
|
901
|
+
public foreign function doc_set_name(world: ptr[ecs_world_t], entity: ptr_uint, name: str as cstr) -> void = c.ecs_doc_set_name
|
|
902
|
+
public foreign function doc_set_brief(world: ptr[ecs_world_t], entity: ptr_uint, description: str as cstr) -> void = c.ecs_doc_set_brief
|
|
903
|
+
public foreign function doc_set_detail(world: ptr[ecs_world_t], entity: ptr_uint, description: str as cstr) -> void = c.ecs_doc_set_detail
|
|
904
|
+
public foreign function doc_set_link(world: ptr[ecs_world_t], entity: ptr_uint, link_: str as cstr) -> void = c.ecs_doc_set_link
|
|
905
|
+
public foreign function doc_set_color(world: ptr[ecs_world_t], entity: ptr_uint, color: str as cstr) -> void = c.ecs_doc_set_color
|
|
906
|
+
public foreign function doc_get_uuid(world: const_ptr[ecs_world_t], entity: ptr_uint) -> cstr = c.ecs_doc_get_uuid
|
|
907
|
+
public foreign function doc_get_name(world: const_ptr[ecs_world_t], entity: ptr_uint) -> cstr = c.ecs_doc_get_name
|
|
908
|
+
public foreign function doc_get_brief(world: const_ptr[ecs_world_t], entity: ptr_uint) -> cstr = c.ecs_doc_get_brief
|
|
909
|
+
public foreign function doc_get_detail(world: const_ptr[ecs_world_t], entity: ptr_uint) -> cstr = c.ecs_doc_get_detail
|
|
910
|
+
public foreign function doc_get_link(world: const_ptr[ecs_world_t], entity: ptr_uint) -> cstr = c.ecs_doc_get_link
|
|
911
|
+
public foreign function doc_get_color(world: const_ptr[ecs_world_t], entity: ptr_uint) -> cstr = c.ecs_doc_get_color
|
|
912
|
+
public foreign function meta_serializer_to_str(world: ptr[ecs_world_t], type_: ptr_uint) -> ptr[char] = c.ecs_meta_serializer_to_str
|
|
913
|
+
public foreign function meta_cursor(world: const_ptr[ecs_world_t], type_: ptr_uint, ptr: ptr[void]) -> ecs_meta_cursor_t = c.ecs_meta_cursor
|
|
914
|
+
public foreign function meta_get_ptr(cursor: ptr[ecs_meta_cursor_t]) -> ptr[void] = c.ecs_meta_get_ptr
|
|
915
|
+
public foreign function meta_next(cursor: ptr[ecs_meta_cursor_t]) -> int = c.ecs_meta_next
|
|
916
|
+
public foreign function meta_elem(cursor: ptr[ecs_meta_cursor_t], elem: int) -> int = c.ecs_meta_elem
|
|
917
|
+
public foreign function meta_member(cursor: ptr[ecs_meta_cursor_t], name: str as cstr) -> int = c.ecs_meta_member
|
|
918
|
+
public foreign function meta_try_member(cursor: ptr[ecs_meta_cursor_t], name: str as cstr) -> int = c.ecs_meta_try_member
|
|
919
|
+
public foreign function meta_dotmember(cursor: ptr[ecs_meta_cursor_t], name: str as cstr) -> int = c.ecs_meta_dotmember
|
|
920
|
+
public foreign function meta_try_dotmember(cursor: ptr[ecs_meta_cursor_t], name: str as cstr) -> int = c.ecs_meta_try_dotmember
|
|
921
|
+
public foreign function meta_push(cursor: ptr[ecs_meta_cursor_t]) -> int = c.ecs_meta_push
|
|
922
|
+
public foreign function meta_pop(cursor: ptr[ecs_meta_cursor_t]) -> int = c.ecs_meta_pop
|
|
923
|
+
public foreign function meta_is_collection(cursor: const_ptr[ecs_meta_cursor_t]) -> bool = c.ecs_meta_is_collection
|
|
924
|
+
public foreign function meta_get_type(cursor: const_ptr[ecs_meta_cursor_t]) -> ecs_entity_t = c.ecs_meta_get_type
|
|
925
|
+
public foreign function meta_get_unit(cursor: const_ptr[ecs_meta_cursor_t]) -> ecs_entity_t = c.ecs_meta_get_unit
|
|
926
|
+
public foreign function meta_get_member(cursor: const_ptr[ecs_meta_cursor_t]) -> cstr = c.ecs_meta_get_member
|
|
927
|
+
public foreign function meta_get_member_id(cursor: const_ptr[ecs_meta_cursor_t]) -> ecs_entity_t = c.ecs_meta_get_member_id
|
|
928
|
+
public foreign function meta_set_bool(cursor: ptr[ecs_meta_cursor_t], value: bool) -> int = c.ecs_meta_set_bool
|
|
929
|
+
public foreign function meta_set_char(cursor: ptr[ecs_meta_cursor_t], value: char) -> int = c.ecs_meta_set_char
|
|
930
|
+
public foreign function meta_set_int(cursor: ptr[ecs_meta_cursor_t], value: ptr_int) -> int = c.ecs_meta_set_int
|
|
931
|
+
public foreign function meta_set_uint(cursor: ptr[ecs_meta_cursor_t], value: ptr_uint) -> int = c.ecs_meta_set_uint
|
|
932
|
+
public foreign function meta_set_float(cursor: ptr[ecs_meta_cursor_t], value: double) -> int = c.ecs_meta_set_float
|
|
933
|
+
public foreign function meta_set_string(cursor: ptr[ecs_meta_cursor_t], value: str as cstr) -> int = c.ecs_meta_set_string
|
|
934
|
+
public foreign function meta_set_string_literal(cursor: ptr[ecs_meta_cursor_t], value: str as cstr) -> int = c.ecs_meta_set_string_literal
|
|
935
|
+
public foreign function meta_set_entity(cursor: ptr[ecs_meta_cursor_t], value: ptr_uint) -> int = c.ecs_meta_set_entity
|
|
936
|
+
public foreign function meta_set_id(cursor: ptr[ecs_meta_cursor_t], value: ptr_uint) -> int = c.ecs_meta_set_id
|
|
937
|
+
public foreign function meta_set_null(cursor: ptr[ecs_meta_cursor_t]) -> int = c.ecs_meta_set_null
|
|
938
|
+
public foreign function meta_set_value(cursor: ptr[ecs_meta_cursor_t], value: const_ptr[ecs_value_t]) -> int = c.ecs_meta_set_value
|
|
939
|
+
public foreign function meta_get_bool(cursor: const_ptr[ecs_meta_cursor_t]) -> bool = c.ecs_meta_get_bool
|
|
940
|
+
public foreign function meta_get_char(cursor: const_ptr[ecs_meta_cursor_t]) -> char = c.ecs_meta_get_char
|
|
941
|
+
public foreign function meta_get_int(cursor: const_ptr[ecs_meta_cursor_t]) -> long = c.ecs_meta_get_int
|
|
942
|
+
public foreign function meta_get_uint(cursor: const_ptr[ecs_meta_cursor_t]) -> ulong = c.ecs_meta_get_uint
|
|
943
|
+
public foreign function meta_get_float(cursor: const_ptr[ecs_meta_cursor_t]) -> double = c.ecs_meta_get_float
|
|
944
|
+
public foreign function meta_get_string(cursor: const_ptr[ecs_meta_cursor_t]) -> cstr = c.ecs_meta_get_string
|
|
945
|
+
public foreign function meta_get_entity(cursor: const_ptr[ecs_meta_cursor_t]) -> ecs_entity_t = c.ecs_meta_get_entity
|
|
946
|
+
public foreign function meta_get_id(cursor: const_ptr[ecs_meta_cursor_t]) -> ecs_id_t = c.ecs_meta_get_id
|
|
947
|
+
public foreign function meta_ptr_to_float(type_kind: ecs_primitive_kind_t, ptr: const_ptr[void]) -> double = c.ecs_meta_ptr_to_float
|
|
948
|
+
public foreign function meta_op_get_elem_count(op: const_ptr[ecs_meta_op_t], ptr: const_ptr[void]) -> ecs_size_t = c.ecs_meta_op_get_elem_count
|
|
949
|
+
public foreign function primitive_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_primitive_desc_t]) -> ecs_entity_t = c.ecs_primitive_init
|
|
950
|
+
public foreign function enum_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_enum_desc_t]) -> ecs_entity_t = c.ecs_enum_init
|
|
951
|
+
public foreign function bitmask_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_bitmask_desc_t]) -> ecs_entity_t = c.ecs_bitmask_init
|
|
952
|
+
public foreign function array_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_array_desc_t]) -> ecs_entity_t = c.ecs_array_init
|
|
953
|
+
public foreign function vector_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_vector_desc_t]) -> ecs_entity_t = c.ecs_vector_init
|
|
954
|
+
public foreign function struct_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_struct_desc_t]) -> ecs_entity_t = c.ecs_struct_init
|
|
955
|
+
public foreign function struct_add_member(world: ptr[ecs_world_t], type_: ptr_uint, member: const_ptr[ecs_member_t]) -> int = c.ecs_struct_add_member
|
|
956
|
+
public foreign function struct_get_member(world: ptr[ecs_world_t], type_: ptr_uint, name: str as cstr) -> ptr[ecs_member_t] = c.ecs_struct_get_member
|
|
957
|
+
public foreign function struct_get_nth_member(world: ptr[ecs_world_t], type_: ptr_uint, i: int) -> ptr[ecs_member_t] = c.ecs_struct_get_nth_member
|
|
958
|
+
public foreign function opaque_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_opaque_desc_t]) -> ecs_entity_t = c.ecs_opaque_init
|
|
959
|
+
public foreign function unit_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_unit_desc_t]) -> ecs_entity_t = c.ecs_unit_init
|
|
960
|
+
public foreign function unit_prefix_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_unit_prefix_desc_t]) -> ecs_entity_t = c.ecs_unit_prefix_init
|
|
961
|
+
public foreign function quantity_init(world: ptr[ecs_world_t], desc: const_ptr[ecs_entity_desc_t]) -> ecs_entity_t = c.ecs_quantity_init
|
|
962
|
+
public foreign function meta_from_desc(world: ptr[ecs_world_t], component: ptr_uint, kind: ecs_type_kind_t, desc: str as cstr) -> int = c.ecs_meta_from_desc
|
|
963
|
+
public foreign function set_os_api_impl() -> void = c.ecs_set_os_api_impl
|
|
964
|
+
public foreign function import_(world: ptr[ecs_world_t], module_: fn(arg0: ptr[ecs_world_t]) -> void, module_name: str as cstr) -> ecs_entity_t = c.ecs_import
|
|
965
|
+
public foreign function import_c(world: ptr[ecs_world_t], module_: fn(arg0: ptr[ecs_world_t]) -> void, module_name_c: str as cstr) -> ecs_entity_t = c.ecs_import_c
|
|
966
|
+
public foreign function import_from_library(world: ptr[ecs_world_t], library_name: str as cstr, module_name: str as cstr) -> ecs_entity_t = c.ecs_import_from_library
|
|
967
|
+
public foreign function module_init(world: ptr[ecs_world_t], c_name: str as cstr, desc: const_ptr[ecs_component_desc_t]) -> ecs_entity_t = c.ecs_module_init
|
|
968
|
+
public foreign function cpp_get_type_name(type_name: ptr[char], func_name: str as cstr, len: ptr_uint, front_len: ptr_uint) -> ptr[char] = c.ecs_cpp_get_type_name
|
|
969
|
+
public foreign function cpp_get_symbol_name(symbol_name: ptr[char], type_name: str as cstr, len: ptr_uint) -> ptr[char] = c.ecs_cpp_get_symbol_name
|
|
970
|
+
public foreign function cpp_get_constant_name(constant_name: ptr[char], func_name: str as cstr, len: ptr_uint, back_len: ptr_uint) -> ptr[char] = c.ecs_cpp_get_constant_name
|
|
971
|
+
public foreign function cpp_trim_module(world: ptr[ecs_world_t], type_name: str as cstr) -> cstr = c.ecs_cpp_trim_module
|
|
972
|
+
public foreign function cpp_component_register(world: ptr[ecs_world_t], desc: const_ptr[ecs_cpp_component_desc_t]) -> ecs_entity_t = c.ecs_cpp_component_register
|
|
973
|
+
public foreign function cpp_enum_init(world: ptr[ecs_world_t], id: ptr_uint, underlying_type: ptr_uint) -> void = c.ecs_cpp_enum_init
|
|
974
|
+
public foreign function cpp_enum_constant_register(world: ptr[ecs_world_t], parent: ptr_uint, id: ptr_uint, name: str as cstr, value: ptr[void], value_type: ptr_uint, value_size: ptr_uint) -> ecs_entity_t = c.ecs_cpp_enum_constant_register
|
|
975
|
+
public foreign function cpp_set(world: ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint, new_ptr: const_ptr[void], size: ptr_uint) -> ecs_cpp_get_mut_t = c.ecs_cpp_set
|
|
976
|
+
public foreign function cpp_assign(world: ptr[ecs_world_t], entity: ptr_uint, component: ptr_uint, new_ptr: const_ptr[void], size: ptr_uint) -> ecs_cpp_get_mut_t = c.ecs_cpp_assign
|
|
977
|
+
public foreign function cpp_new(world: ptr[ecs_world_t], parent: ptr_uint, name: str as cstr, sep: str as cstr, root_sep: str as cstr) -> ecs_entity_t = c.ecs_cpp_new
|
|
978
|
+
public foreign function cpp_last_member(world: const_ptr[ecs_world_t], type_: ptr_uint) -> ptr[ecs_member_t] = c.ecs_cpp_last_member
|