MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / yaml_parser_set_input_file

Function yaml_parser_set_input_file

external/libyaml/src/api.c:308–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306 */
307
308YAML_DECLARE(void)
309yaml_parser_set_input_file(yaml_parser_t *parser, FILE *file)
310{
311 assert(parser); /* Non-NULL parser object expected. */
312 assert(!parser->read_handler); /* You can set the source only once. */
313 assert(file); /* Non-NULL file object expected. */
314
315 parser->read_handler = yaml_file_read_handler;
316 parser->read_handler_data = parser;
317
318 parser->input.file = file;
319}
320
321/*
322 * Set a generic input.

Callers 1

yaml.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected