8#ifndef INITIALIZE_FROM_FILE_H
9#define INITIALIZE_FROM_FILE_H
19#define SC_CSV_LINE_MAX 256
20#define SC_CSV_MAX_COLS 256
298#define lf_initialize_string(filename, delimiter, row_number, ...) \
299 _lf_initialize_string(filename, delimiter, row_number, &((self_base_t*)self)->allocations, __VA_ARGS__)
int lf_initialize_int(const char *filename, char delimiter, size_t row_number,...)
Read one delimited row from a file and parse as integers.
int lf_initialize_double(const char *filename, char delimiter, size_t row_number,...)
Read one delimited row from a file and parse as doubles.
int _lf_initialize_string(const char *filename, char delimiter, size_t row_number, struct allocation_record_t **allocations,...)
Type definitions that are widely used across different parts of the runtime.
Definitions for the C target of Lingua Franca shared by threaded and unthreaded versions.
Allocation record to keep track of dynamically-allocated memory.
Definition lf_types.h:499