projects
/
python-purple
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplifyed definitions call, moved signal callback example to Cython code.
[python-purple]
/
libpurple
/
connection.pxd
diff --git
a/libpurple/connection.pxd
b/libpurple/connection.pxd
index
d0a3633
..
510307c
100644
(file)
--- a/
libpurple/connection.pxd
+++ b/
libpurple/connection.pxd
@@
-17,6
+17,8
@@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+cimport account
+
cdef extern from "libpurple/connection.h":
ctypedef struct PurpleConnection:
pass
cdef extern from "libpurple/connection.h":
ctypedef struct PurpleConnection:
pass
@@
-24,4
+26,6
@@
cdef extern from "libpurple/connection.h":
ctypedef struct PurpleConnectionUiOps:
pass
ctypedef struct PurpleConnectionUiOps:
pass
+ account.PurpleAccount *c_purple_connection_get_account "purple_connection_get_account" (PurpleConnection *gc)
+ void *c_purple_connections_get_handle "purple_connections_get_handle" ()
void c_purple_connections_set_ui_ops "purple_connections_set_ui_ops" (PurpleConnectionUiOps *ops)
void c_purple_connections_set_ui_ops "purple_connections_set_ui_ops" (PurpleConnectionUiOps *ops)