Skip to content

dll_pop*

Taras Maliukh edited this page Apr 11, 2020 · 1 revision

Synopsis:

bool dll_popfront(dll_t *restrict dll);
bool dll_popback(dll_t *restrict dll);

Description:

  • dll_popfront: delete the first object in a list
  • dll_popback: delete the last object in a list

Return value:

true when object deleted otherwise false if:

  • dll is NULL
  • list dll hasn't any objects
Clone this wiki locally