gandi_service(3) - Linux man page
Name
Different service routines.
Synopsis
#include <gandi_core.h>
GANDI_fiti(i, a, b);
size_t GANDI_fitu(i);
GANDIW_widget *GANDI_vtw(void *w);
void *GANDI_wtv(GANDIW_widget *w);
Description
GANDI_fiti(i, a, b);
This macro has the type of its first argument. Return value is
i when it is
between
a and
b,
a when it is less then
a and
b when it is greater then
b.
size_t GANDI_fitu(i);
This is a macros for
GANDI_fiti(i, 0, UINT_MAX).
GANDIW_widget *GANDI_vtw(void *w);
If
w is a widget, the return value is its
core part (see
gandi_gandiw(3gandi)).
void *GANDI_wtv(GANDIW_widget *w);
If
w is a widget's core (see
gandi_gandiw(3gandi)),
then the return value is the widget itself.
Notes
_vtw and
_wtv are "void to widget" and "widget to void" accordingly. But there
void is any widget type (
void *) and
widget is a
GANDIW_widget * what is a widget's core indeed.
See Also
gandi_core(3gandi) gandi_gandiw(3gandi)