Skip to content
Snippets Groups Projects
Commit c6c032b5 authored by James Willis's avatar James Willis
Browse files

Added doxygen documentation to parser_write_params_to_file

parent 292a97fc
No related branches found
No related tags found
1 merge request!140First version of main() using a parameter file to get constants.
...@@ -254,6 +254,14 @@ void parser_print_params(struct swift_params *params) { ...@@ -254,6 +254,14 @@ void parser_print_params(struct swift_params *params) {
} }
/**
* @brief Write the contents of the parameter structure to a file in YAML format.
*
* @param params Structure that holds the parameters
* @param file_name Name of file to be written
*
*/
void parser_write_params_to_file(struct swift_params *params, const char *file_name) { void parser_write_params_to_file(struct swift_params *params, const char *file_name) {
FILE *file = fopen(file_name, "w"); FILE *file = fopen(file_name, "w");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment