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

Function yaml_parser_load_mapping_end

external/libyaml/src/loader.c:529–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529static int
530yaml_parser_load_mapping_end(yaml_parser_t *parser, yaml_event_t *event,
531 struct loader_ctx *ctx)
532{
533 int index;
534
535 assert(((*ctx).top - (*ctx).start) > 0);
536
537 index = *((*ctx).top - 1);
538 assert(parser->document->nodes.start[index-1].type == YAML_MAPPING_NODE);
539 parser->document->nodes.start[index-1].end_mark = event->end_mark;
540
541 (void)POP(parser, *ctx);
542
543 return 1;
544}

Callers 1

yaml_parser_load_nodesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected