Files
entt/test/lib/locator/shared/lib.cpp
2025-11-05 23:47:16 +01:00

12 lines
346 B
C++

#include <entt/config/attribute.h>
#include <entt/locator/locator.hpp>
#include "../../../common/boxed_type.h"
ENTT_API void set_up(const entt::locator<test::boxed_int>::node_type &handle) {
entt::locator<test::boxed_int>::reset(handle);
}
ENTT_API void use_service(int value) {
entt::locator<test::boxed_int>::value().value = value;
}