Commits

Lenard Lindstrom committed 3cdb394

Fix Python 2.5 compatibility issue

Comments (0)

Files changed (1)

     Py_buffer view;
     PyObject* dict;
 
-    if (PyObject_GetBuffer (self, &view, PyBUF_RECORDS)) {
+    if (snd_getbuffer (self, &view, PyBUF_RECORDS)) {
         return 0;
     }
     dict = PgBuffer_AsArrayInterface (&view);