diff options
author | liljencrantz <liljencrantz@gmail.com> | 2008-01-15 08:31:24 +1000 |
---|---|---|
committer | liljencrantz <liljencrantz@gmail.com> | 2008-01-15 08:31:24 +1000 |
commit | 537ab32dd99992e12b7edac7ad2be82a6710a39a (patch) | |
tree | a483f1239b4d234e077e59d9417f1b59df5d108f /event.h | |
parent | a2660cfb769405c3de270452ec1a70b62d3e271c (diff) |
Add support for the Ubuntu 'command-no-found' handler, which suggests a package to install in order to get a command.
darcs-hash:20080114223124-75c98-ab1658d54086394cf13f3a6210543c0b790362c4.gz
Diffstat (limited to 'event.h')
-rw-r--r-- | event.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -164,7 +164,8 @@ const wchar_t *event_get_desc( event_t *e ); /** Fire a generic event with the specified name */ -void event_fire_generic(const wchar_t *name); +#define event_fire_generic( ... ) event_fire_generic_internal( __VA_ARGS__, (void *)0 ) +void event_fire_generic_internal(const wchar_t *name,...); #endif |