diff options
author | axel <axel@liljencrantz.se> | 2005-10-06 21:54:16 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-10-06 21:54:16 +1000 |
commit | 2ac6b62df2b4ce1e2c1a8afeea1ce1c9cf4b70f4 (patch) | |
tree | 05f9769924ba068c0c673243bd5ce2b046fddcbd /event.h | |
parent | 3b02b76c7989ff664b055316b1f1559ae99f350b (diff) |
Various updates to signal event handling
darcs-hash:20051006115416-ac50b-ab0a1be946f758cfdeaa5dfe172f417acb9b6e79.gz
Diffstat (limited to 'event.h')
-rw-r--r-- | event.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -74,8 +74,11 @@ void event_remove( event_t *event ); Return all events which match the specified event class \param criterion Is the class of events to return. If the criterion has a non-null function_name, only events which trigger the specified function will return. + \param out the list to add events to. May be 0, in which case no events will be added, but the result count will still be valid + + \return the number of found matches */ -void event_get( event_t *criterion, array_list_t *out ); +int event_get( event_t *criterion, array_list_t *out ); /** Fire the specified event. The function_name field of the event must |