Fixed Debian package creation.
[python-purple] / libpurple / signals.pxd
index 569f654..74b74ab 100644 (file)
 #  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
+cimport glib
+
 cdef extern from "libpurple/signals.h":
     ctypedef void (*PurpleCallback) ()
 
-    gulong c_purple_signal_connect "purple_signal_connect" (void *instance,
-            const_char_ptr signal, void *handle, PurpleCallback func,
-            void *data)
-    void c_purple_signal_disconnect "purple_signal_disconnect" (void *instance,
-            const_char_ptr signal, void *handle, PurpleCallback func)
+    glib.gulong purple_signal_connect(void *instance, char *signal, \
+            void *handle, PurpleCallback func, void *data)
+    void purple_signal_disconnect(void *instance, char *signal, void *handle, \
+            PurpleCallback func)