From: Enlightenment C. <no...@cv...> - 2006-07-13 18:04:19
|
Enlightenment CVS committal Author : mej Project : eterm Module : libast Dir : eterm/libast/include/libast Modified Files: Makefile.am list_if.h Added Files: condition_if.h module.h mutex_if.h pthreads.h thread_if.h Log Message: Thu Jul 13 14:02:08 2006 Michael Jennings (mej) Added thread, mutex, and condition interfaces along with their corresponding pthreads-based implementations. Not quite done yet, and not tested. Added dynamically-loadable module object class along with corresponding unit tests. Appears to work fine. ---------------------------------------------------------------------- =================================================================== RCS file: /cvs/e/eterm/libast/include/libast/Makefile.am,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- Makefile.am 20 Apr 2006 21:44:40 -0000 1.20 +++ Makefile.am 13 Jul 2006 23:03:44 -0000 1.21 @@ -1,8 +1,9 @@ # $Id: Makefile.am,v 1.6 2001/09/22 16:25:29 mej Exp $ EXTRA_HEADERS = array.h avl_tree.h dlinked_list.h iterator_if.h \ -linked_list.h list_if.h map_if.h mbuff.h obj.h objpair.h regexp.h \ -socket.h str.h sysdefs.h tok.h types.h url.h ustr.h vector_if.h +linked_list.h list_if.h map_if.h mbuff.h module.h obj.h objpair.h \ +regexp.h socket.h str.h sysdefs.h tok.h types.h url.h ustr.h \ +vector_if.h install-exec-hook: $(mkinstalldirs) $(DESTDIR)$(includedir)/$(PACKAGE) @@ -22,4 +23,5 @@ sysdefs.h: sysdefs.h.in (cd $(top_srcdir) && ./config.status) + MAINTAINERCLEANFILES = Makefile.in =================================================================== RCS file: /cvs/e/eterm/libast/include/libast/list_if.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- list_if.h 24 Jan 2004 19:52:52 -0000 1.13 +++ list_if.h 13 Jul 2006 23:03:44 -0000 1.14 @@ -56,10 +56,10 @@ #define SPIF_LIST_APPEND(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), append))(o, item)) #define SPIF_LIST_CONTAINS(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), contains))(o, item)) -#define SPIF_LIST_COUNT(o) SPIF_CAST_C(size_t) ((SPIF_LIST_CALL_METHOD((o), count))(o)) +#define SPIF_LIST_COUNT(o) SPIF_CAST(listidx) ((SPIF_LIST_CALL_METHOD((o), count))(o)) #define SPIF_LIST_FIND(o, item) SPIF_CAST(obj) ((SPIF_LIST_CALL_METHOD((o), find))(o, item)) #define SPIF_LIST_GET(o, index) SPIF_CAST(obj) ((SPIF_LIST_CALL_METHOD((o), get))(o, index)) -#define SPIF_LIST_INDEX(o, item) SPIF_CAST_C(size_t) ((SPIF_LIST_CALL_METHOD((o), index))(o, item)) +#define SPIF_LIST_INDEX(o, item) SPIF_CAST(listidx) ((SPIF_LIST_CALL_METHOD((o), index))(o, item)) #define SPIF_LIST_INSERT(o, item) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), insert))(o, item)) #define SPIF_LIST_INSERT_AT(o, item, index) SPIF_CAST(bool) ((SPIF_LIST_CALL_METHOD((o), insert_at))(o, item, index)) #define SPIF_LIST_ITERATOR(o) SPIF_CAST(iterator) ((SPIF_LIST_CALL_METHOD((o), iterator))(o)) |