Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_callback.c 


Log Message:
- comment ++

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_callback.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- ewl_callback.c      16 Sep 2005 19:00:24 -0000      1.4
+++ ewl_callback.c      16 Sep 2005 19:10:25 -0000      1.5
@@ -3,6 +3,16 @@
 #include "ewl_macros.h"
 #include "ewl_private.h"
 
+/*
+ * Note: The callback list is either a single callback or a
+ * pointer to an array of callbacks. This can be checked with the
+ * EWL_CALLBACK_TYPE_DIRECT flag. If the list is set to direct then the list
+ * itself is the callback. If it isn't direct then the list points to an
+ * array of callbacks. (You can't use the length to determine this as if
+ * the list has several items and you remove them down to the first item in
+ * the array the list won't be direct, but will have only one item.) 
+ */
+
 static unsigned int  ewl_callback_hash(void *key);
 static int           ewl_callback_compare(void *key1, void *key2);
 static Ewl_Callback *ewl_callback_register(Ewl_Callback * cb);




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to