lib.cpp 335 B

1234567891011
  1. #include "common/boxed_type.h"
  2. #include <entt/core/attribute.h>
  3. #include <entt/locator/locator.hpp>
  4. ENTT_API void set_up(const entt::locator<test::boxed_int>::node_type &handle) {
  5. entt::locator<test::boxed_int>::reset(handle);
  6. }
  7. ENTT_API void use_service(int value) {
  8. entt::locator<test::boxed_int>::value().value = value;
  9. }