list1.h File Reference

#include <gwenhywfar/gwenhywfarapi.h>
#include <gwenhywfar/types.h>
#include <assert.h>

Go to the source code of this file.

Typesafe Macros

#define GWEN_LIST_ELEMENT(t)   GWEN_LIST1_ELEMENT *_list1_element;
#define GWEN_LIST_FINI(t, element)
#define GWEN_LIST_FUNCTION_DEFS(t, pr)   GWEN_LIST_FUNCTION_LIB_DEFS(t, pr, GWEN_DUMMY_EMPTY_ARG)
#define GWEN_LIST_FUNCTION_DEFS_CONST(t, pr)   GWEN_LIST_FUNCTION_LIB_DEFS_CONST(t, pr, GWEN_DUMMY_EMPTY_ARG)
#define GWEN_LIST_FUNCTION_DEFS_NOCONST(t, pr)   GWEN_LIST_FUNCTION_LIB_DEFS_NOCONST(t, pr, GWEN_DUMMY_EMPTY_ARG)
#define GWEN_LIST_FUNCTION_LIB_DEFS(t, pr, decl)
#define GWEN_LIST_FUNCTION_LIB_DEFS_CONST(t, pr, decl)
#define GWEN_LIST_FUNCTION_LIB_DEFS_NOCONST(t, pr, decl)
#define GWEN_LIST_FUNCTIONS(t, pr)
#define GWEN_LIST_INIT(t, element)   element->_list1_element=GWEN_List1Element_new(element);

Internal Functions

All functions and structs within this group should be considered internal. They just implement the functionality behind the typesafe list macros (see GWEN_LIST_FUNCTION_LIB_DEFS and following).

typedef GWEN_LIST1 GWEN_LIST1
typedef GWEN_LIST1_ELEMENT GWEN_LIST1_ELEMENT
GWENHYWFAR_API int GWEN_List1_Add (GWEN_LIST1 *l, GWEN_LIST1_ELEMENT *el)
GWENHYWFAR_API int GWEN_List1_AddList (GWEN_LIST1 *dest, GWEN_LIST1 *l)
GWENHYWFAR_API int GWEN_List1_Del (GWEN_LIST1_ELEMENT *el)
GWENHYWFAR_API void GWEN_List1_free (GWEN_LIST1 *l)
GWENHYWFAR_API int GWEN_List1_GetCount (const GWEN_LIST1 *l)
GWENHYWFAR_API void * GWEN_List1_GetFirst (const GWEN_LIST1 *l)
GWENHYWFAR_API void * GWEN_List1_GetLast (const GWEN_LIST1 *l)
GWENHYWFAR_API int GWEN_List1_Insert (GWEN_LIST1 *l, GWEN_LIST1_ELEMENT *el)
GWENHYWFAR_API GWEN_LIST1GWEN_List1_new ()
GWENHYWFAR_API void GWEN_List1Element_free (GWEN_LIST1_ELEMENT *el)
GWENHYWFAR_API void * GWEN_List1Element_GetData (const GWEN_LIST1_ELEMENT *el)
GWENHYWFAR_API void * GWEN_List1Element_GetNext (const GWEN_LIST1_ELEMENT *el)
GWENHYWFAR_API void * GWEN_List1Element_GetPrevious (const GWEN_LIST1_ELEMENT *el)
GWENHYWFAR_API GWEN_LIST1_ELEMENTGWEN_List1Element_new (void *d)


Generated on Wed Jun 21 00:59:53 2006 for gwenhywfar by  doxygen 1.4.6