util

util

Synopsis

#define             TPL_GET_PRIV                        (obj,type)
#define             TPL_STR_EMPTY                       (x)
#define             tpl_call_with_err_if_fail           (guard, obj, PREFIX, POSTFIX, msg, func, user_data)

Description

Details

TPL_GET_PRIV()

#define TPL_GET_PRIV(obj,type) ((type##Priv *) ((type *) obj)->priv)

obj :

type :


TPL_STR_EMPTY()

#define TPL_STR_EMPTY(x) ((x) == NULL || (x)[0] == '\0')

x :


tpl_call_with_err_if_fail()

#define             tpl_call_with_err_if_fail(guard, obj, PREFIX, POSTFIX, msg, func, user_data)

guard :

obj :

PREFIX :

POSTFIX :

msg :

func :

user_data :