#
cdef extern from "glib.h":
- ctypedef void* gpointer
+ ctypedef void *gpointer
ctypedef int gint
ctypedef unsigned int guint
ctypedef gint gboolean
+ ctypedef gboolean (*GSourceFunc) (gpointer data)
# GHashTable is an opaque data structure
ctypedef struct GHashTable:
- void* none
+ void *none
struct _GSList:
gpointer data
_GList *next
_GList *prev
ctypedef _GList GList
+
+ guint g_timeout_add(guint interval, GSourceFunc function, gpointer data)
+ gboolean g_source_remove(guint tag)