#ifndef SWIFT_EVENT_MSG_H
#define SWIFT_EVENT_MSG_H

#include <swift/stdlib.h>
#include <swift/thread.h>

#include <swift/event/api.h>

typedef void (* swift_run_ev_msg_fn_t)(void *user_data);

SWIFT_EVENT_API bool swift_post_ev_msg(swift_thread_id_t thread_id,
	swift_run_ev_msg_fn_t run_msg, void *user_data);

#endif /* SWIFT_EVENT_MSG_H */
