10 lines
286 B
C++
10 lines
286 B
C++
#include <entt/core/attribute.h>
|
|
#include <entt/signal/dispatcher.hpp>
|
|
#include "../../../common/boxed_type.h"
|
|
#include "../../../common/empty.h"
|
|
|
|
ENTT_API void trigger(entt::dispatcher &dispatcher) {
|
|
dispatcher.trigger<test::empty>();
|
|
dispatcher.trigger(test::boxed_int{2});
|
|
}
|