Updated hack to avoid recursive loops.
authorRagner Magalhaes <ragner.magalhaes@openbossa.org>
Tue, 2 Dec 2008 21:14:54 +0000 (21:14 +0000)
committerAnderson Briglia <anderson.briglia@openbossa.org>
Sat, 28 Feb 2009 21:11:19 +0000 (17:11 -0400)
FIXES:
 - Updated hack to avoid recursive loops.

Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
Acked-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1429 596f6dd7-e928-0410-a184-9e12fd12cf7e

libpurple/account.pxd

index e59c8ca..33d93ba 100644 (file)
@@ -21,39 +21,24 @@ cimport glib
 
 # hack to avoid recursive loops by cython
 cdef extern from "libpurple/blist.h":
-    ctypedef struct PurpleBuddy:
-        pass
-
-    ctypedef struct PurpleGroup:
-        pass
+    ctypedef struct PurpleBuddy
+    ctypedef struct PurpleGroup
 
 cdef extern from "libpurple/connection.h":
-    ctypedef struct PurpleConnection:
-        pass
-
-    ctypedef struct PurpleConnectionErrorInfo:
-        pass
+    ctypedef struct PurpleConnection
+    ctypedef struct PurpleConnectionErrorInfo
 
 cdef extern from "libpurple/log.h":
-    ctypedef struct PurpleLog:
-        pass
+    ctypedef struct PurpleLog
 
 cdef extern from "libpurple/proxy.h":
-    ctypedef struct PurpleProxyInfo:
-        pass
+    ctypedef struct PurpleProxyInfo
 
 cdef extern from "libpurple/status.h":
-    ctypedef struct PurpleStatus:
-        pass
-
-    ctypedef struct PurpleStatusType:
-        pass
-
-    ctypedef struct PurpleStatusPrimitive:
-        pass
-
-    ctypedef struct PurplePresence:
-        pass
+    ctypedef struct PurpleStatus
+    ctypedef struct PurpleStatusType
+    ctypedef struct PurpleStatusPrimitive
+    ctypedef struct PurplePresence
 
 cdef extern from "libpurple/account.h":
     ctypedef struct PurpleAccountUiOps