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

Function xo_stack_set_flags

tools/libxo/libxo/libxo.c:4247–4256  ·  view source on GitHub ↗

* Update the stack flags using the object flags, allowing callers * to monkey with the stack flags without even knowing they exist. */

Source from the content-addressed store, hash-verified

4245 * to monkey with the stack flags without even knowing they exist.
4246 */
4247static void
4248xo_stack_set_flags (xo_handle_t *xop)
4249{
4250 if (XOF_ISSET(xop, XOF_NOT_FIRST)) {
4251 xo_stack_t *xsp = &xop->xo_stack[xop->xo_depth];
4252
4253 xsp->xs_flags |= XSF_NOT_FIRST;
4254 XOF_CLEAR(xop, XOF_NOT_FIRST);
4255 }
4256}
4257
4258static void
4259xo_format_prep (xo_handle_t *xop, xo_xff_flags_t flags)

Callers 8

xo_format_valueFunction · 0.85
xo_depth_changeFunction · 0.85
xo_do_open_containerFunction · 0.85
xo_do_close_containerFunction · 0.85
xo_do_open_listFunction · 0.85
xo_do_open_leaf_listFunction · 0.85
xo_do_open_instanceFunction · 0.85
xo_explicit_transitionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected