Main Page   File List   File Members  

list.h File Reference

#include <gtk/gtk.h>
#include "class.h"

Go to the source code of this file.

Compounds

struct  s_list

Defines

#define LIST(class)   ((struct s_list *)class)
#define LIST_TYPE(const)   CLASS_TYPE(const)
#define list_append(list, data)   (LIST(list)->GTKList = g_slist_append(LIST(list)->GTKList, data))

Typedefs

typedef void(* free_t )(gpointer, gpointer)

Functions

s_list * list_alloc (free_t)
void list_free (struct s_list *)


Detailed Description

Author:
Guillaume Bour. 2002
Version:
0.1
Date:
28/02/2002 - object structure definition
lists definitions


Function Documentation

struct s_list* list_alloc free_t    free
 

lists allocation.

visibility :: public

Parameters:
free  the element freeing function
Returns:
the allocated list

void list_free struct s_list *    mylist
 

list freeing.

visibility :: public

Parameters:
mylist  the list to free
Returns:
<none>


Generated on Tue Aug 6 13:21:20 2002 for lafontaine by doxygen1.2.15