MCPcopy Create free account
hub / github.com/apache/qpid-proton / pni_data_new

Function pni_data_new

c/src/core/codec.c:1264–1272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1262}
1263
1264static pni_node_t *pni_data_new(pn_data_t *data)
1265{
1266 if ((data->capacity <= data->size) && (pni_data_grow(data) != 0)) return NULL;
1267 pni_node_t *node = pn_data_node(data, ++(data->size));
1268 node->next = 0;
1269 node->down = 0;
1270 node->children = 0;
1271 return node;
1272}
1273
1274void pn_data_rewind(pn_data_t *data)
1275{

Callers 1

pni_data_addFunction · 0.85

Calls 2

pni_data_growFunction · 0.85
pn_data_nodeFunction · 0.85

Tested by

no test coverage detected