MCPcopy Create free account
hub / github.com/OpenPrinting/cups / cleartomark_stack

Function cleartomark_stack

cups/raster-interpret.c:696–707  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694 */
695
696static int /* O - 0 on success, -1 on error */
697cleartomark_stack(_cups_ps_stack_t *st) /* I - Stack */
698{
699 _cups_ps_obj_t *obj; /* Current object on stack */
700
701
702 while ((obj = pop_stack(st)) != NULL)
703 if (obj->type == CUPS_PS_START_ARRAY)
704 break;
705
706 return (obj ? 0 : -1);
707}
708
709
710/*

Callers 1

_cupsRasterExecPSFunction · 0.85

Calls 1

pop_stackFunction · 0.85

Tested by

no test coverage detected