+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
+
2008-05-26 Marc-André Lureau <marcandre.lureau@gmail.com>
* vapi/glib-2.0.vapi (Object): add weak pointer references
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")]
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 {
}
public static delegate void FreeFunc (void* data);
+ public static delegate void VoidFunc ();
/* Lexical Scanner */