Go to the documentation of this file.
35 #define as_util_hook(hook,default,object,args...) \
36 (object && object->hooks && object->hooks->hook ? object->hooks->hook(object, ## args) : default)
41 #define as_util_fromval(object,type_id,type) \
42 (object && as_val_type(object) == type_id ? (type *) object : NULL)