| 1646 | } |
| 1647 | |
| 1648 | int pn_data_put_bool(pn_data_t *data, bool b) |
| 1649 | { |
| 1650 | pni_node_t *node = pni_data_add(data); |
| 1651 | if (node == NULL) return PN_OUT_OF_MEMORY; |
| 1652 | node->atom.type = PN_BOOL; |
| 1653 | node->atom.u.as_bool = b; |
| 1654 | return 0; |
| 1655 | } |
| 1656 | |
| 1657 | int pn_data_put_ubyte(pn_data_t *data, uint8_t ub) |
| 1658 | { |
no test coverage detected