[uim-commit] r155 - trunk/uim

yamaken@freedesktop.org yamaken@freedesktop.org
Fri Jan 7 03:20:17 PST 2005


Author: yamaken
Date: 2005-01-07 03:20:14 -0800 (Fri, 07 Jan 2005)
New Revision: 155

Modified:
   trunk/uim/slib.c
Log:
* uim/slib.c
  - (gc_cells_sweeped): Rename to gc_cells_swept
  - (gc_cells_swept): Renamed from gc_cells_sweeped
  - (gc_sweep, gc_ms_stats_end, siod_init): Follow the renaming


Modified: trunk/uim/slib.c
===================================================================
--- trunk/uim/slib.c	2005-01-07 10:25:20 UTC (rev 154)
+++ trunk/uim/slib.c	2005-01-07 11:20:14 UTC (rev 155)
@@ -238,7 +238,7 @@
 static struct gc_protected *protected_registers;
 static jmp_buf save_regs_gc_mark;
 static double gc_rt;
-static long gc_cells_sweeped;
+static long gc_cells_swept;
 static long gc_cells_collected;
 static char *user_ch_readm;
 static char *user_te_readm;
@@ -2519,7 +2519,7 @@
 	    ++s;
 	  }
       }
-  gc_cells_sweeped = s;
+  gc_cells_swept = s;
   gc_cells_collected = n;
   freelist = nfreelist;
 }
@@ -2562,7 +2562,7 @@
     fprintf (siod_output, "[GC took %g cpu seconds, %ld / %ld cells collected in %ld / %ld heaps]\n",
 	     gc_rt,
 	     gc_cells_collected,
-	     gc_cells_sweeped,
+	     gc_cells_swept,
 	     n,
 	     nheaps);
 }
@@ -4703,7 +4703,7 @@
   user_types = NULL;
   protected_registers = NULL;
   gc_rt = 0;
-  gc_cells_sweeped = 0;
+  gc_cells_swept = 0;
   gc_cells_collected = 0;
   user_ch_readm = "";
   user_te_readm = "";



More information about the Uim-commit mailing list