table of contents
other versions
- wheezy 0.4.1-2
LQR_CARVER_LIST_FOREACH(3) | LqR library API reference | LQR_CARVER_LIST_FOREACH(3) |
NAME¶
lqr_carver_list_foreach - perform operations on all LqrCarver objects in an LqrCarverList objectSYNOPSIS¶
#include <lqr.h>
LqrRetVal
lqr_carver_list_foreach(LqrCarverList* list,
LqrCarverFunc func,
LqrDataTok data);
LqrRetVal
lqr_carver_list_foreach_recursive(LqrCarverList* list,
LqrCarverFunc func,
LqrDataTok data);
DESCRIPTION¶
The function lqr_carver_list_foreach can be used to apply the function func to all the LqrCarver 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_carver_list_start(3). The order in the list will then follow the one in which carver objects were attached. The function func is of type LqrCarverFunc, whose prototype is defined by:typedef LqrRetVal (*LqrCarverFunc) (LqrCarver *carver, LqrDataTok data);
•LqrCarver*
carver
•gint integer
•gpointer data
SEE ALSO¶
COPYRIGHT¶
Copyright © 2007-2009 Carlo Baldassi10 Maj 2009 | LqR library 0.4.1 API (3:1:3) |