lqr_vmap_list_foreach(3) perform operations on all LqrVMap objects in an LqrVMapList object

SYNOPSIS


#include <lqr.h>

LqrRetVal lqr_vmap_list_foreach(LqrVMapList* list, LqrVMapFunc func, gpointer data);

DESCRIPTION

The function lqr_vmap_list_foreach can be used to apply the function func to all the LqrVMap objects listed in list. The parameter data is used to pass arguments to the function.

The list value should be obtained through the function lqr_vmap_list_start(3).

The function func is of type LqrVMapFunc, whose prototype is defined by:

typedef LqrRetVal (*LqrVMapFunc) (LqrVMap *vmap, gpointer data);
                        

The data argument is of type gpointer, which is just a pointer to void.

COPYRIGHT

Copyright © 2007-2009 Carlo Baldassi