Skip to content

Commit 52764cf

Browse files
committed
chore: rename function
1 parent 9380227 commit 52764cf

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ecsact/entt/wrapper/core.hh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,7 @@ inline auto clear_component(ecsact_registry_id registry_id) -> void {
374374
}
375375

376376
template<typename C>
377-
inline auto init_registry_with_component(ecsact_registry_id registry_id
378-
) -> void {
377+
inline auto prepare_component(ecsact_registry_id registry_id) -> void {
379378
using namespace ecsact::entt;
380379

381380
auto& reg = ecsact::entt::get_registry(registry_id);

rt_entt_codegen/core/init_registry_storage.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ auto ecsact::rt_entt_codegen::core::print_init_registry_storage(
2020
auto cpp_comp_name = cpp_identifier(decl_full_name(comp_id));
2121

2222
ctx.write(
23-
"ecsact::entt::wrapper::core::init_registry_with_component<",
23+
"ecsact::entt::wrapper::core::prepare_component<",
2424
cpp_comp_name,
2525
">(registry_id)"
2626
);

0 commit comments

Comments
 (0)