return rv;
}
-bool late_bool(void *obj, attrsym_t * attr, bool def)
-{
+bool late_bool(void *obj, attrsym_t *attr, bool defaultValue) {
if (attr == NULL)
- return def;
+ return defaultValue;
return mapbool(agxget(obj, attr));
}
double minimum);
UTILS_API char *late_nnstring(void *obj, Agsym_t *attr, char *defaultValue);
UTILS_API char *late_string(void *obj, Agsym_t *attr, char *defaultValue);
-UTILS_API bool late_bool(void *, Agsym_t *, bool);
+UTILS_API bool late_bool(void *obj, Agsym_t *attr, bool defaultValue);
UTILS_API double get_inputscale(graph_t *g);
UTILS_API Agnode_t *UF_find(Agnode_t *);