xp_comm_proj/rd_dicom/Papyrus3/PapyInit3.c
/********************************************************************************/
/*										*/
/*	Papy3FreeDataSetModules : Free the allocated global variable .      	*/
/*									      	*/
/********************************************************************************/
Papy3FreeDataSetModules : Free the allocated global variable .
Papy3FreeDataSetModules : Free the allocated global variable .
void
Papy3FreeDataSetModules ()
{
  PapyShort	i;
  if  (gIsPapy3Inited == 21) 
  {
    for (i = 0; i < END_MODALITY; i++)
    {
      efree3( (void **)&gArrUIDs [i] );
      if (i != PX_IM)
        efree3( (void **)&gArrModalities [i]);
    }
  } 
  gIsPapy3Inited = 0;
}
void Papy3FreeDataSetModules ( ) { PapyShort i ; if ( gIsPapy3Inited == 21 ) { for ( i = 0 ; i < END_MODALITY ; i ++ ) { efree3 ( ( void * * ) & gArrUIDs [ i ] ) ; if ( i != PX_IM ) efree3 ( ( void * * ) & gArrModalities [ i ] ) ; } } gIsPapy3Inited = 0 ; }
Papy3FreeDataSetModules : Free the allocated global variable .
Papy3FreeDataSetModules : Free the allocated global variable .
/* has the PAPYRUS toolkit been initialized */ /* free room used for the storage of the UIDs and the Modalities */ /* PX_IM modality not used and defined for the moment */ /* if intialized... */