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

Function index_stack

cups/raster-interpret.c:877–885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875 */
876
877static _cups_ps_obj_t * /* O - New object */
878index_stack(_cups_ps_stack_t *st, /* I - Stack */
879 int n) /* I - Object index */
880{
881 if (n < 0 || (n = st->num_objs - n - 1) < 0)
882 return (NULL);
883
884 return (push_stack(st, st->objs + n));
885}
886
887
888/*

Callers 1

_cupsRasterExecPSFunction · 0.85

Calls 1

push_stackFunction · 0.85

Tested by

no test coverage detected