Moved debug methods outside Purple class, added core ui ops callback examples.
[python-purple] / core / eventloop.pxd
index c508b75..013324f 100644 (file)
 #
 
 cdef extern from "libpurple/eventloop.h":
-    ctypedef struct PurpleEventLoopUiOps
+    ctypedef struct PurpleEventLoopUiOps:
+        pass
 
-    cdef void c_purple_eventloop_set_ui_ops "purple_eventloop_set_ui_ops" (PurpleEventLoopUiOps *ops)
+    void c_purple_eventloop_set_ui_ops "purple_eventloop_set_ui_ops" (PurpleEventLoopUiOps *ops)
 
 class EventLoop(object):
     """ EventLoop class """