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

Function yaml_parser_load_sequence_end

external/libyaml/src/loader.c:461–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459}
460
461static int
462yaml_parser_load_sequence_end(yaml_parser_t *parser, yaml_event_t *event,
463 struct loader_ctx *ctx)
464{
465 int index;
466
467 assert(((*ctx).top - (*ctx).start) > 0);
468
469 index = *((*ctx).top - 1);
470 assert(parser->document->nodes.start[index-1].type == YAML_SEQUENCE_NODE);
471 parser->document->nodes.start[index-1].end_mark = event->end_mark;
472
473 (void)POP(parser, *ctx);
474
475 return 1;
476}
477
478/*
479 * Compose a mapping node.

Callers 1

yaml_parser_load_nodesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected