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

Function yaml_malloc

xs/tools/yaml/api.c:52–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 */
51
52YAML_DECLARE(void *)
53yaml_malloc(size_t size)
54{
55 return malloc(size ? size : 1);
56}
57
58/*
59 * Reallocate a dynamic memory block.

Calls

no outgoing calls

Tested by

no test coverage detected