pygobject r749 - in trunk: . gio
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: pygobject r749 - in trunk: . gio
- Date: Sat, 8 Mar 2008 11:31:00 +0000 (GMT)
Author: johan
Date: Sat Mar 8 11:31:00 2008
New Revision: 749
URL: http://svn.gnome.org/viewvc/pygobject?rev=749&view=rev
Log:
2008-03-08 Johan Dahlin <jdahlin async com br>
* gio/ginputstream.override:
Pass in l instead of i to PyArg_ParseTupleAndKeywords when
parsing a long. Fixes the build on 64-bit systems.
(#521165, Thomas Leonard)
Modified:
trunk/ChangeLog
trunk/gio/ginputstream.override
Modified: trunk/gio/ginputstream.override
==============================================================================
--- trunk/gio/ginputstream.override (original)
+++ trunk/gio/ginputstream.override Sat Mar 8 11:31:00 2008
@@ -34,7 +34,7 @@
size_t bytesread, buffersize, chunksize;
if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "|iO!:InputStream.read",
+ "|lO!:InputStream.read",
kwlist, &count,
&PyGCancellable_Type, &pycancellable))
return NULL;
@@ -108,7 +108,7 @@
notify = g_slice_new0(PyGAsyncRequestNotify);
if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "iiOO|O:InputStream.read_async",
+ "liOO|O:InputStream.read_async",
kwlist, &count,
&io_priority,
&pycancellable,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]