vala r1454 - in trunk: . vapi



Author: malureau
Date: Mon May 26 18:02:56 2008
New Revision: 1454
URL: http://svn.gnome.org/viewvc/vala?rev=1454&view=rev

Log:
2008-05-26  Marc-Andrà Lureau  <marcandre lureau gmail com>

	* vapi/glib-2.0.vapi (Memory): add atexit () and memory profile
	bindings, fixes bug #530627


Modified:
   trunk/ChangeLog
   trunk/vapi/glib-2.0.vapi

Modified: trunk/vapi/glib-2.0.vapi
==============================================================================
--- trunk/vapi/glib-2.0.vapi	(original)
+++ trunk/vapi/glib-2.0.vapi	Mon May 26 18:02:56 2008
@@ -1385,6 +1385,15 @@
 	
 	public static void free (void* mem);
 
+	public class MemVTable {
+	}
+
+	[CCode (cname = "glib_mem_profiler_table")]
+	public static MemVTable mem_profiler_table;
+
+	public static void mem_set_vtable (MemVTable vtable);
+	public static void mem_profile ();
+
 	[CCode (cheader_filename = "string.h")]
 	namespace Memory {
 		[CCode (cname = "memcmp")]
@@ -1871,6 +1880,8 @@
 		public static string get_current_dir ();
 		[CCode (cname = "g_find_program_in_path")]
 		public static string find_program_in_path (string program);
+		[CCode (cname = "g_atexit")]
+		public static void atexit (VoidFunc func);
 	}
 
 	public enum UserDirectory {
@@ -1911,6 +1922,7 @@
 	}
 
 	public static delegate void FreeFunc (void* data);
+	public static delegate void VoidFunc ();
 
 	/* Lexical Scanner */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]