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

Function xo_name_to_flag

tools/libxo/libxo/libxo.c:2138–2142  ·  view source on GitHub ↗

* Convert string name to XOF_* flag value. * Not all are useful. Or safe. Or sane. */

Source from the content-addressed store, hash-verified

2136 * Not all are useful. Or safe. Or sane.
2137 */
2138static unsigned
2139xo_name_to_flag (const char *name)
2140{
2141 return (unsigned) xo_name_lookup(xo_xof_names, name, -1);
2142}
2143
2144/**
2145 * Set the style of an libxo handle based on a string name

Callers 1

xo_set_optionsFunction · 0.85

Calls 1

xo_name_lookupFunction · 0.85

Tested by

no test coverage detected