diff src/log.h @ 13623:51d436a267ac

[gaim-migrate @ 16009] Use the GSlice allocator (for logs and log sets) when compiling with glib 2.10 or greater and eliminate some unnecessary memory zeroing. This cuts the log loading time in half for one of Luke's contacts. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 11 Apr 2006 16:06:24 +0000
parents 0a8b72b12cef
children
line wrap: on
line diff
--- a/src/log.h	Tue Apr 11 16:02:57 2006 +0000
+++ b/src/log.h	Tue Apr 11 16:06:24 2006 +0000
@@ -126,6 +126,9 @@
 	                                           if struct tm has the BSD
 	                                           timezone fields, else @c NULL.
 	                                           Do NOT modify anything in this struct.*/
+
+	/* IMPORTANT: Some code in log.c allocates these without zeroing them.
+	 * IMPORTANT: Update that code if you add members here. */
 };
 
 /**
@@ -160,6 +163,9 @@
 	                                           @a name. It must be set, and
 	                                           may be set to the same pointer
 	                                           value as @a name. */
+
+	/* IMPORTANT: Some code in log.c allocates these without zeroing them.
+	 * IMPORTANT: Update that code if you add members here. */
 };
 
 #ifdef __cplusplus