Logo Search packages:      
Sourcecode: djvulibre version File versions

void DjVuPortcaster::clear_aliases ( const DjVuPort port  ) 

Removes all aliases associated with the given {DjVuPort}.

Definition at line 288 of file DjVuPort.cpp.

Referenced by del_port().

{
  GCriticalSectionLock lock(&map_lock);
  for(GPosition pos=a2p_map;pos;)
    if (a2p_map[pos]==port)
    {
      GPosition this_pos=pos;
      ++pos;
      a2p_map.del(this_pos);
    } else ++pos;
}


Generated by  Doxygen 1.6.0   Back to index