xp_comm_proj/rd_dicom/Papyrus3/PapyEallocMac3.c
/********************************************************************************/
/*										*/
/*	checkvp3 : check if the new allocated did not failed			*/
/*	return : the validated pointer if OK				 	*/
/*		 else exit the program						*/
/*									 	*/
/********************************************************************************/
checkvp3 : check if the new allocated did not failed
return : the validated pointer if OK
else exit the program
checkvp3 : check if the new allocated did not failed return : the validated pointer if OK else exit the program
static void *
checkvp3 (void *ioPointer)
{
  if (ioPointer == NULL)
    wildrexit ("allocating memory");
  return ioPointer;
}
static void * checkvp3 ( void * ioPointer ) { if ( ioPointer == NULL ) wildrexit ( " " ) ; return ioPointer ; }
checkvp3 : check if the new allocated did not failed
return : the validated pointer if OK
else exit the program
checkvp3 : check if the new allocated did not failed return : the validated pointer if OK else exit the program