diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-08 02:34:31 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-08 02:34:31 -0800 |
commit | 3dc56de0ae42b40104337803c392f506491b30d6 (patch) | |
tree | b2bd0dfd8253425ea88681950c2930c9b6d48cda /event.h | |
parent | b2e58091802403649fbecd260f39e8f3b288f611 (diff) |
Excised some more halloc and array_list_t
Diffstat (limited to 'event.h')
-rw-r--r-- | event.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -13,6 +13,7 @@ #define FISH_EVENT_H #include "common.h" +#include "event.h" /** The signal number that is used to match any signal @@ -45,7 +46,7 @@ enum - When used as a parameter to event_add, it represents a class of events, and function_name is the name of the function which will be called whenever an event matching the specified class occurs. This is also how events are stored internally. - When used as a parameter to event_get, event_remove and event_fire, it represents a class of events, and if the function_name field is non-zero, only events which call the specified function will be returned. */ -typedef struct +struct event_t { /** Type of event @@ -93,8 +94,7 @@ typedef struct is ignored. */ wcstring_list_t *arguments; -} - event_t; +}; /** Add an event handler |