Diff for /parser3/src/main/Attic/pa_hash.C between versions 1.27 and 1.29

version 1.27, 2001/03/19 17:56:28 version 1.29, 2001/03/24 10:54:46
Line 16 Line 16
         For more information about Zend please visit http://www.zend.com/          For more information about Zend please visit http://www.zend.com/
 */  */
   
 #include <string.h>  #include "pa_config_includes.h"
   
 #include "pa_hash.h"  #include "pa_hash.h"
 #include "pa_threads.h"  #include "pa_threads.h"
Line 154  void Hash::merge_dont_replace(const Hash Line 154  void Hash::merge_dont_replace(const Hash
         // MAY:optimize this.allocated==src.allocated case          // MAY:optimize this.allocated==src.allocated case
 }  }
   
 void Hash::foreach(Foreach_func func, void *info) {  void Hash::for_each(For_each_func func, void *info) {
         Pair **ref=refs;          Pair **ref=refs;
         for(int index=0; index<allocated; index++)          for(int index=0; index<allocated; index++)
                 for(Pair *pair=*ref++; pair; pair=pair->link)                  for(Pair *pair=*ref++; pair; pair=pair->link)

Removed from v.1.27  
changed lines
  Added in v.1.29


E-mail: