Exemple #1
0
void pc_closeasm(void *handle, int deletefile)
{
  if (handle!=NULL) {
    if (!deletefile)
      mfdump((MEMFILE*)handle);
    mfclose((MEMFILE*)handle);
  } /* if */
}
void pc_closeasm(void *handle, int deletefile)
{
  #if defined __MSDOS__ || defined PAWN_LIGHT
    if (handle!=NULL)
      fclose((FILE*)handle);
    if (deletefile)
      remove(outfname);
  #else
    if (handle!=NULL) {
      if (!deletefile)
        mfdump((MEMFILE*)handle);
      mfclose((MEMFILE*)handle);
    } /* if */
  #endif
}