Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Sunday, October 25, 2026

Diff for games/_shared/my-graph.c between version 1.5 and 1.6

version 1.5, 2003/07/17 21:53:31 version 1.6, 2003/07/18 08:17:35
Line 11 
Line 11 
  *   *
  */   */
   
 /* $Platon: games/_shared/my-graph.c,v 1.4 2003/07/11 11:41:46 nepto Exp $ */  /* $Platon: games/_shared/my-graph.c,v 1.5 2003/07/17 21:53:31 nepto Exp $ */
   
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
Line 88  static void *putimage_BGI_cache_pointers
Line 88  static void *putimage_BGI_cache_pointers
 static void *putimage_BGI_cache_data[PUTIMAGE_BGI_CACHE_SIZE];  static void *putimage_BGI_cache_data[PUTIMAGE_BGI_CACHE_SIZE];
 static int putimage_BGI_cache_size = 0;  static int putimage_BGI_cache_size = 0;
   
 static void putimage_BGI_cache_free(void)  static void putimage_BGI_cache_free(void) /* {{{ */
 {  {
         register int i;          register int i;
         for (i = 0; i < putimage_BGI_cache_size; i++) {          for (i = 0; i < putimage_BGI_cache_size; i++) {
Line 100  static void putimage_BGI_cache_free(void
Line 100  static void putimage_BGI_cache_free(void
         fprintf(stderr, "putimage_BGI_cache_free(): %d entries freed\n",          fprintf(stderr, "putimage_BGI_cache_free(): %d entries freed\n",
                         putimage_BGI_cache_size);                          putimage_BGI_cache_size);
 #endif  #endif
 }          putimage_BGI_cache_size = 0; /* To prevent double free */
   } /* }}} */
   
 void putimage_BGI_cached(const int x, const int y, void *image, const int op) /* {{{ */  void putimage_BGI_cached(const int x, const int y, void *image, const int op) /* {{{ */
 {  {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top