aboutsummaryrefslogtreecommitdiffhomepage
path: root/event.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-08 02:34:31 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-08 02:34:31 -0800
commit3dc56de0ae42b40104337803c392f506491b30d6 (patch)
treeb2bd0dfd8253425ea88681950c2930c9b6d48cda /event.h
parentb2e58091802403649fbecd260f39e8f3b288f611 (diff)
Excised some more halloc and array_list_t
Diffstat (limited to 'event.h')
-rw-r--r--event.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/event.h b/event.h
index 766f3796..63009b74 100644
--- a/event.h
+++ b/event.h
@@ -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