Get buddies function
[python-purple] / glib.pxd
index 9b589c5..e651a95 100644 (file)
--- a/glib.pxd
+++ b/glib.pxd
@@ -25,6 +25,7 @@ cdef extern from "glib.h":
     ctypedef unsigned long gulong
     ctypedef gint gboolean
     ctypedef gboolean (*GSourceFunc) (gpointer data)
+    ctypedef unsigned int gsize
 
     ctypedef struct GHashTable:
         pass
@@ -51,6 +52,7 @@ cdef extern from "glib.h":
 
     GHashTable *g_hash_table_new (GHashFunc, GEqualFunc)
     void g_hash_table_insert (GHashTable*, gpointer, gpointer)
+    void g_hash_table_destroy (GHashTable*)
 
     guint g_timeout_add(guint interval, GSourceFunc function, gpointer data)
     guint g_timeout_add_seconds(guint interval, GSourceFunc function, gpointer data)