Diff

Differences From Artifact [763315a783]:

To Artifact [4d749dd593]:


331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
	*data = lc_process_size(value, endptr);

	return(0);
}

static int lc_process_var_float(float *data, const char *value, const char **endptr) {
#ifdef HAVE_STRTOF
	*data = strtof(value, endptr);
#else
	*data = strtod(value, endptr);
#endif

	return(0);
}

static int lc_process_var_double(double *data, const char *value, const char **endptr) {
	*data = strtod(value, endptr);

	return(0);
}


int lc_handle_type(lc_var_type_t type, const char *value, void *data) {
	const char *next;







|

|






|







331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
	*data = lc_process_size(value, endptr);

	return(0);
}

static int lc_process_var_float(float *data, const char *value, const char **endptr) {
#ifdef HAVE_STRTOF
	*data = strtof(value, (char **) endptr);
#else
	*data = strtod(value, (char **) endptr);
#endif

	return(0);
}

static int lc_process_var_double(double *data, const char *value, const char **endptr) {
	*data = strtod(value, (char **) endptr);

	return(0);
}


int lc_handle_type(lc_var_type_t type, const char *value, void *data) {
	const char *next;