MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / yaml_mapping_end_event_initialize

Function yaml_mapping_end_event_initialize

xs/tools/yaml/api.c:988–998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

986 */
987
988YAML_DECLARE(int)
989yaml_mapping_end_event_initialize(yaml_event_t *event)
990{
991 yaml_mark_t mark = { 0, 0, 0 };
992
993 assert(event); /* Non-NULL event object is expected. */
994
995 MAPPING_END_EVENT_INIT(*event, mark, mark);
996
997 return 1;
998}
999
1000/*
1001 * Destroy an event object.

Callers 1

yaml.hFile · 0.85

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected