xp_comm_proj/rd_dicom/Papyrus3/PapyEallocPC3.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 *pointer)
{
	if (pointer == NULL)
		wildrexit ("allocating memory");
	return pointer;
}
static void * checkvp3 ( void * pointer ) { if ( pointer == NULL ) wildrexit ( " " ) ; return pointer ; }
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