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

Function cupsArrayPrev

cups/array.c:845–863  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

843 */
844
845void * /* O - Previous element or @code NULL@ */
846cupsArrayPrev(cups_array_t *a) /* I - Array */
847{
848 /*
849 * Range check input...
850 */
851
852 if (!a)
853 return (NULL);
854
855 /*
856 * Return the previous element...
857 */
858
859 if (a->current >= 0)
860 a->current --;
861
862 return (cupsArrayCurrent(a));
863}
864
865
866/*

Callers 7

list_ppdsFunction · 0.85
load_ppdsFunction · 0.85
exec_filtersFunction · 0.85
cupsdContinueJobFunction · 0.85
copy_dscFunction · 0.85
save_rssFunction · 0.85
mainFunction · 0.85

Calls 1

cupsArrayCurrentFunction · 0.85

Tested by 1

mainFunction · 0.68