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

Function xo_style_is_encoding

tools/libxo/libxo/libxo.c:2033–2042  ·  view source on GitHub ↗

* Indicate if the style is an "encoding" one as opposed to a "display" one. */

Source from the content-addressed store, hash-verified

2031 * Indicate if the style is an "encoding" one as opposed to a "display" one.
2032 */
2033static int
2034xo_style_is_encoding (xo_handle_t *xop)
2035{
2036 if (xo_style(xop) == XO_STYLE_JSON
2037 || xo_style(xop) == XO_STYLE_XML
2038 || xo_style(xop) == XO_STYLE_SDPARAMS
2039 || xo_style(xop) == XO_STYLE_ENCODER)
2040 return 1;
2041 return 0;
2042}
2043
2044/* Simple name-value mapping */
2045typedef struct xo_mapping_s {

Callers 5

xo_format_stringFunction · 0.85
xo_do_format_fieldFunction · 0.85
xo_format_colorsFunction · 0.85
xo_gettext_build_formatFunction · 0.85
xo_set_version_hFunction · 0.85

Calls 1

xo_styleFunction · 0.85

Tested by

no test coverage detected