Mercurial > pygame
diff src/bufferproxy.c @ 867:a249a10980f0
Fixed bufferproxy stringifcation method. Fixed PixelArray's contains() method.
| author | marcus |
|---|---|
| date | Sat, 29 Dec 2007 22:23:48 +0000 |
| parents | 41b22371307e |
| children | 31fa129efd0f |
line wrap: on
line diff
--- a/src/bufferproxy.c Sat Dec 29 13:02:47 2007 +0000 +++ b/src/bufferproxy.c Sat Dec 29 22:23:48 2007 +0000 @@ -96,7 +96,7 @@ 0, /* tp_getattr */ 0, /* tp_setattr */ 0, /* tp_compare */ - _bufferproxy_repr, /* tp_repr */ + (reprfunc) &_bufferproxy_repr, /* tp_repr */ 0, /* tp_as_number */ 0, /* tp_as_sequence */ 0, /* tp_as_mapping */
