/[emacs]/emacs/src/image.c
ViewVC logotype

Diff of /emacs/src/image.c

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

revision 1.11 by tamm, Wed May 12 02:23:37 2004 UTC revision 1.12 by lektu, Wed Jun 2 00:50:09 2004 UTC
# Line 213  XDestroyImage (ximg) Line 213  XDestroyImage (ximg)
213  {  {
214    UnlockPixels (GetGWorldPixMap (ximg));    UnlockPixels (GetGWorldPixMap (ximg));
215  }  }
216  #endif  #endif /* MAC_OS */
217    
218    
219  /* Functions to access the contents of a bitmap, given an id.  */  /* Functions to access the contents of a bitmap, given an id.  */
# Line 1596  lookup_image (f, spec) Line 1596  lookup_image (f, spec)
1596       Lisp_Object spec;       Lisp_Object spec;
1597  {  {
1598    struct image_cache *c = FRAME_X_IMAGE_CACHE (f);    struct image_cache *c = FRAME_X_IMAGE_CACHE (f);
1599    #ifdef _MSC_VER
1600      /* Work around a problem with MinGW builds of graphics libraries
1601         not honoring calling conventions.  */
1602      static
1603    #endif
1604    struct image *img;    struct image *img;
1605    int i;    int i;
1606    unsigned hash;    unsigned hash;
# Line 4238  xpm_load (f, img) Line 4243  xpm_load (f, img)
4243  }  }
4244    
4245  #endif /* MAC_OS */  #endif /* MAC_OS */
4246    
4247    
4248    
4249  /***********************************************************************  /***********************************************************************
# Line 5688  struct png_memory_storage Line 5693  struct png_memory_storage
5693     PNG_PTR is a pointer to the PNG control structure.  Copy LENGTH     PNG_PTR is a pointer to the PNG control structure.  Copy LENGTH
5694     bytes from the input to DATA.  */     bytes from the input to DATA.  */
5695    
5696    #ifdef _MSC_VER
5697      /* Work around a problem with MinGW builds of graphics libraries
5698         not honoring calling conventions.  */
5699    #pragma optimize("g", off)
5700    #endif
5701    
5702  static void  static void
5703  png_read_from_memory (png_ptr, data, length)  png_read_from_memory (png_ptr, data, length)
5704       png_structp png_ptr;       png_structp png_ptr;
# Line 5704  png_read_from_memory (png_ptr, data, len Line 5715  png_read_from_memory (png_ptr, data, len
5715    tbr->index = tbr->index + length;    tbr->index = tbr->index + length;
5716  }  }
5717    
5718    #ifdef _MSC_VER
5719    /* Restore normal optimization, as specified on the command line.  */
5720    #pragma optimize("", on)
5721    #endif
5722    
5723  /* Load PNG image IMG for use on frame F.  Value is non-zero if  /* Load PNG image IMG for use on frame F.  Value is non-zero if
5724     successful.  */     successful.  */
5725    

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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