🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
217 B

  1. #include <entt/core/attribute.h>
  2. #include <entt/signal/dispatcher.hpp>
  3. #include "types.h"
  4. ENTT_API void trigger(entt::dispatcher &dispatcher) {
  5. dispatcher.trigger<event>();
  6. dispatcher.trigger(message{42});
  7. }