MCPcopy Create free account
hub / github.com/F-Stack/f-stack / xo_set_encoder

Function xo_set_encoder

tools/libxo/libxo/libxo.c:8468–8475  ·  view source on GitHub ↗

* Record an encoder callback function in an xo handle. */

Source from the content-addressed store, hash-verified

8466 * Record an encoder callback function in an xo handle.
8467 */
8468void
8469xo_set_encoder (xo_handle_t *xop, xo_encoder_func_t encoder)
8470{
8471 xop = xo_default(xop);
8472
8473 xop->xo_style = XO_STYLE_ENCODER;
8474 xop->xo_encoder = encoder;
8475}
8476
8477/*
8478 * The xo(1) utility needs to be able to open and close lists and

Callers 1

xo_encoder_initFunction · 0.85

Calls 1

xo_defaultFunction · 0.85

Tested by

no test coverage detected