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

Function pn_data_put_array

c/src/core/codec.c:1616–1624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1614}
1615
1616int pn_data_put_array(pn_data_t *data, bool described, pn_type_t type)
1617{
1618 pni_node_t *node = pni_data_add(data);
1619 if (node == NULL) return PN_OUT_OF_MEMORY;
1620 node->atom.type = PN_ARRAY;
1621 node->described = described;
1622 node->type = type;
1623 return 0;
1624}
1625
1626void pni_data_set_array_type(pn_data_t *data, pn_type_t type)
1627{

Callers 6

put_arrayMethod · 0.85
encoder.cppFile · 0.85
pn_data_vfillFunction · 0.85
pn_data_appendnFunction · 0.85
pni_decoder_decode_valueFunction · 0.85
data_test.cppFile · 0.85

Calls 1

pni_data_addFunction · 0.85

Tested by

no test coverage detected