X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=glib.pxd;h=e651a95ce92ff1281eba09caa478055734acb1e6;hp=9b589c552ea7de189df2f1caeccd62d301b8b0cf;hb=3317112f6f04d1fdc7b338b947f18e811c9b9e7e;hpb=f73c4168c56d09ed8a2e280d391d0ca094892056;ds=sidebyside diff --git a/glib.pxd b/glib.pxd index 9b589c5..e651a95 100644 --- 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)