Allow 'emit' to accept event arguments

This commit is contained in:
Jan Kanis
2012-12-20 01:11:55 +01:00
parent 1f0ae8b06d
commit af3059ab2a
6 changed files with 19 additions and 28 deletions

View File

@@ -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