X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=core%2Faccount.pxd;h=e07aa9f4f7522e024a01b2e4a2ab3e4953a0b694;hp=93330a1fd04c5e98b53f3ddf27c646d1904fa2a1;hb=11fae5285905f05afb2030183b874333d64f91ee;hpb=30f1e323b5bd76f5789b6251454e388cc511e2d5 diff --git a/core/account.pxd b/core/account.pxd index 93330a1..e07aa9f 100644 --- a/core/account.pxd +++ b/core/account.pxd @@ -18,12 +18,13 @@ # cdef extern from "libpurple/account.h": - ctypedef struct PurpleAccount + ctypedef struct PurpleAccount: + pass - cdef PurpleAccount *c_purple_account_new "purple_account_new" (const_char_ptr username, const_char_ptr protocol_id) - cdef void c_purple_account_set_username "purple_account_set_username" (PurpleAccount *account, const_char_ptr username) - cdef void c_purple_account_set_password "purple_account_set_password" (PurpleAccount *account, const_char_ptr password) - cdef void c_purple_account_set_enabled "purple_account_set_enabled" (PurpleAccount *account, const_char_ptr ui, gboolean value) + PurpleAccount *c_purple_account_new "purple_account_new" (const_char_ptr username, const_char_ptr protocol_id) + void c_purple_account_set_username "purple_account_set_username" (PurpleAccount *account, const_char_ptr username) + void c_purple_account_set_password "purple_account_set_password" (PurpleAccount *account, const_char_ptr password) + void c_purple_account_set_enabled "purple_account_set_enabled" (PurpleAccount *account, const_char_ptr ui, gboolean value) class Account(object): """ Account class """