root / trunk / data / dict / slfind.diff

Revision 199, 0.7 kB (checked in by saurik, 8 months ago)

Drastic, sweeping modifications to support iPhone 1.2.0/2.0.

  • libmaa/sl.c

    diff -r -u dictd-1.9.9/libmaa/sl.c dictd-1.9.9+iPhone/libmaa/sl.c
    old new  
    355355   _sl_check( list ); 
    356356} 
    357357 
     358#if 0 
    358359/* \doc Find the datum in |list| that has an associated value of |key|. 
    359360   Return that datum (a pointer), or "NULL" if the |key| is not found. */ 
    360361 
     
    371372   if (pt && !l->compare( l->key( pt->datum ), key )) return pt->datum; 
    372373   return NULL; 
    373374} 
     375#endif 
    374376 
    375377/* \doc Iterate |f| over every datum in |list|.  If |f| returns non-zero, 
    376378   then abort the remainder of the iteration.  Iterations are designed to 
Note: See TracBrowser for help on using the browser.