From a97b6520469c205fb53af2a1b3ba70fd111800db Mon Sep 17 00:00:00 2001 From: axel Date: Fri, 3 Feb 2006 01:33:30 +1000 Subject: [PATCH] Minor source documentation edits darcs-hash:20060202153330-ac50b-63ad1ac0f20b94f6015e472b52ac32040a942280.gz --- event.c | 7 +++++-- wutil.h | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/event.c b/event.c index ccbc774fb..c9f2ff812 100644 --- a/event.c +++ b/event.c @@ -74,12 +74,15 @@ static array_list_t *killme; */ static array_list_t *blocked; +/** + String buffer used for formating event descriptions in event_get_desc() +*/ static string_buffer_t *get_desc_buff=0; /** Tests if one event instance matches the definition of a event - class. If the class defines a function name, that will also be a - match criterion. + class. If both the class and the instance name a function, + they must name the same function. */ static int event_match( event_t *class, event_t *instance ) diff --git a/wutil.h b/wutil.h index 1d5049378..81ee847b6 100644 --- a/wutil.h +++ b/wutil.h @@ -82,7 +82,7 @@ wchar_t *wgetcwd( wchar_t *buff, size_t sz ); int wchdir( const wchar_t * dir ); /** - Wide character verion of realpath function. Just like the GNU + Wide character version of realpath function. Just like the GNU version of realpath, wrealpath will accept 0 as the value for the second argument, in which case the result will be allocated using malloc, and must be free'd by the user.