From: Ragner Magalhaes Date: Tue, 2 Dec 2008 21:14:54 +0000 (+0000) Subject: Updated hack to avoid recursive loops. X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=commitdiff_plain;h=56adfe036e2edf661c2be072dd7293211d8ebfca Updated hack to avoid recursive loops. FIXES: - Updated hack to avoid recursive loops. Signed-off-by: Bruno Abinader Acked-by: Ragner Magalhaes git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1429 596f6dd7-e928-0410-a184-9e12fd12cf7e --- diff --git a/libpurple/account.pxd b/libpurple/account.pxd index e59c8ca..33d93ba 100644 --- a/libpurple/account.pxd +++ b/libpurple/account.pxd @@ -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