aboutsummaryrefslogtreecommitdiffhomepage
path: root/event.h
diff options
context:
space:
mode:
authorGravatar Jan Kanis <jan.code@jankanis.nl>2012-12-20 01:11:55 +0100
committerGravatar Jan Kanis <jan.code@jankanis.nl>2012-12-20 16:13:00 +0100
commitaf3059ab2ad4ccbfec3c0789b198388cc90fbcbb (patch)
tree053a7fd1e81254acfa5406f08976ca5059f152d9 /event.h
parent1f0ae8b06d7e10d2a12cfd28efb3032af7b4d2f1 (diff)
Allow 'emit' to accept event arguments
Diffstat (limited to 'event.h')
-rw-r--r--event.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/event.h b/event.h
index 034dafab..56d076be 100644
--- a/event.h
+++ b/event.h
@@ -173,8 +173,6 @@ wcstring event_get_desc(const event_t *e);
/**
Fire a generic event with the specified name
*/
-#define event_fire_generic( ... ) event_fire_generic_internal( __VA_ARGS__, NULL )
-
-void event_fire_generic_internal(const wchar_t *name,...);
+void event_fire_generic(const wchar_t *name, wcstring_list_t *args = NULL);
#endif