🛠️🐜 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.

9 lines
231 B

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