| 1614 | } |
| 1615 | |
| 1616 | int 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 | |
| 1626 | void pni_data_set_array_type(pn_data_t *data, pn_type_t type) |
| 1627 | { |
no test coverage detected