/[freetype]/freetype2/src/cache/ftccache.c
ViewVC logotype

Diff of /freetype2/src/cache/ftccache.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.33 by freetype, Mon May 23 13:04:53 2005 UTC revision 1.34 by wl, Mon May 23 21:33:02 2005 UTC
# Line 4  Line 4 
4  /*                                                                         */  /*                                                                         */
5  /*    The FreeType internal cache interface (body).                        */  /*    The FreeType internal cache interface (body).                        */
6  /*                                                                         */  /*                                                                         */
7  /*  Copyright 2000-2001, 2002, 2003, 2004 by                               */  /*  Copyright 2000-2001, 2002, 2003, 2004, 2005 by                         */
8  /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */  /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
9  /*                                                                         */  /*                                                                         */
10  /*  This file is part of the FreeType project, and may only be used,       */  /*  This file is part of the FreeType project, and may only be used,       */
# Line 424  Line 424 
424      FT_Error  error;      FT_Error  error;
425      FTC_Node  node;      FTC_Node  node;
426    
427     /* we use the FTC_CACHE_TRYLOOP macros in order to  
428      * support out-of-memory error (OOM) correctly, i.e.      /*
429      * by flushing the cache progressively in order to       * We use the FTC_CACHE_TRYLOOP macros to support out-of-memory
430      * make more room       * errors (OOM) correctly, i.e., by flushing the cache progressively
431      */       * in order to make more room.
432      FTC_CACHE_TRYLOOP(cache)       */
433    
434        FTC_CACHE_TRYLOOP( cache )
435      {      {
436        error = cache->clazz.node_new( &node, query, cache );        error = cache->clazz.node_new( &node, query, cache );
437      }      }

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26