int config_setting_lookup_float (const config_setting_t * setting, const char *name, double *value) { config_setting_t *member = config_setting_get_member (setting, name); if (!member) return (CONFIG_FALSE); return (__config_setting_get_float (member, value)); }
int config_lookup_float (const config_t * config, const char *path, double *value) { const config_setting_t *s = config_lookup (config, path); if (!s) return (CONFIG_FALSE); return (__config_setting_get_float (s, value)); }
double config_setting_get_float(const config_setting_t *setting) { double value = 0.0; __config_setting_get_float(setting, &value); return(value); }