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

Function pn_data_put_bool

c/src/core/codec.c:1648–1655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1646}
1647
1648int 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
1657int pn_data_put_ubyte(pn_data_t *data, uint8_t ub)
1658{

Callers 4

put_boolMethod · 0.85
pn_data_vfillFunction · 0.85
pn_data_appendnFunction · 0.85
pni_decoder_decode_valueFunction · 0.85

Calls 1

pni_data_addFunction · 0.85

Tested by

no test coverage detected