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

Function yaml_document_get_root_node

external/libyaml/src/api.c:1179–1188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1177 */
1178
1179YAML_DECLARE(yaml_node_t *)
1180yaml_document_get_root_node(yaml_document_t *document)
1181{
1182 assert(document); /* Non-NULL document object is expected. */
1183
1184 if (document->nodes.top != document->nodes.start) {
1185 return document->nodes.start;
1186 }
1187 return NULL;
1188}
1189
1190/*
1191 * Add a scalar node to a document.

Callers 3

parse_scalar_mappingFunction · 0.85
parse_flattened_documentFunction · 0.85
yaml.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected