Files
entt/test/lib/locator/shared/lib.cpp
2025-11-15 18:50:57 +01:00

13 lines
360 B
C++

#include <entt/config/config.h>
#include <entt/locator/locator.hpp>
#include "../../../common/boxed_type.h"
#include "lib.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;
}