dbus/python dbus_bindings.pyx.in,1.25,1.26

Colin Walters walters at freedesktop.org
Wed Jun 15 22:51:48 PDT 2005


Update of /cvs/dbus/dbus/python
In directory gabe:/tmp/cvs-serv10186/python

Modified Files:
	dbus_bindings.pyx.in 
Log Message:
2005-06-16  Colin Walters  <walters at verbum.org>

	* python/dbus_bindings.pyx.in: Import size_t,
	__int64_t, __uint64_t, and __signed.

	* dbus/dbus-sysdeps.c <HAVE_CMSGCRED> (write_credentials_byte):
	Define cmsg struct, output it.
	(_dbus_read_credentials_unix_socket):
	Use cmsg struct.
	
	Patch from Joe Markus Clarke for FreeBSD support.


Index: dbus_bindings.pyx.in
===================================================================
RCS file: /cvs/dbus/dbus/python/dbus_bindings.pyx.in,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- dbus_bindings.pyx.in	19 May 2005 20:27:19 -0000	1.25
+++ dbus_bindings.pyx.in	16 Jun 2005 05:51:46 -0000	1.26
@@ -7,6 +7,14 @@
 
 #FIXME: find memory leaks that I am sure exist
 
+cdef extern from "sys/types.h":
+    ctypedef size_t
+    ctypedef __int64_t
+    ctypedef __uint64_t
+
+cdef extern from "sys/cdefs.h":
+    ctypedef __signed
+
 #include "dbus_h_wrapper.h"
 
 cdef extern from "stdlib.h":



More information about the dbus-commit mailing list