]> granicus.if.org Git - python/commitdiff
fix signature
authorBenjamin Peterson <benjamin@python.org>
Sun, 31 May 2009 00:42:42 +0000 (00:42 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sun, 31 May 2009 00:42:42 +0000 (00:42 +0000)
Doc/c-api/buffer.rst

index da7a8e4e2418cad3f5b1a45aaf267e944eba0d2e..3f13e74084683313958ee86d9236358ebdb2fb62 100644 (file)
@@ -141,7 +141,7 @@ Buffer related functions
    Return 1 if *obj* supports the buffer interface otherwise 0.
 
 
-.. cfunction:: int PyObject_GetBuffer(PyObject *obj, PyObject *view, int flags)
+.. cfunction:: int PyObject_GetBuffer(PyObject *obj, Py_buffer *view, int flags)
 
       Export *obj* into a :ctype:`Py_buffer`, *view*.  These arguments must
       never be *NULL*.  The *flags* argument is a bit field indicating what