imageprocessing/fileFunctions.c
int listSize(POINT_T* pHead)
{
  int count = 0;
  POINT_T* pCurrent = pHead;
  while (pCurrent != NULL)
    {
    count++;
    pCurrent = pCurrent->next;
    }
  return count;
}
/* Return the number of points in the list.
 * @param pHead    head of the list
 * @return number of items in the list
 */
Return the number of points in the list.
@param pHead    head of the list
@return number of items in the list
Return the number of points in the list . @param pHead head of the list @return number of items in the list
int listSize(POINT_T* pHead)
{
  int count = 0;
  POINT_T* pCurrent = pHead;
  while (pCurrent != NULL)
    {
    count++;
    pCurrent = pCurrent->next;
    }
  return count;
}
int listSize ( POINT_T * pHead ) { int count = 0 ; POINT_T * pCurrent = pHead ; while ( pCurrent != NULL ) { count ++ ; pCurrent = pCurrent -> next ; } return count ; }
Return the number of points in the list.
Return the number of points in the list .