Commits

Author Commit Message Labels Comments Date
Lenard Lindstrom
Remove pgcompat.h The pgcompat.h header file is the last connection of the newbuffer module with Pygame.
Lenard Lindstrom
Fix the unit tests to work with Python 3.x
Lenard Lindstrom
Give the BufferMixin callback methods more Pythonic names The method names __getbuffer__ and __releasebuffer__ are consistent with the corresponding special functions defined in Cython.
Lenard Lindstrom
Remove default BufferMixin methods _get_buffer and _release_buffer These default methods caused problems with multiple inheritance. For a subclass with multiple base classes to inherit the new buffer interface from BufferMixin, BufferMixin must be first in the subclass's inheritance list. If the subclass's _get_buffer and _release_buffer methods were inherited from another base class, the BufferMixin defaults hid them.
Lenard Lindstrom
Remove unnecessary assignment
Lenard Lindstrom
add get_buffer and release_buffer newbuffer.Py_buffer methods
Lenard Lindstrom
add PyBUF constants, PyBUFFER_SIZEOF check, and fix duplicate class name
Lenard Lindstrom
Add Python/Pygame compatible license
Lenard Lindstrom
Fix for Python 3.2 and 3.3
Lenard Lindstrom
Rename the Buffer type to Py_buffer
Lenard Lindstrom
Add all features necessary for Pygame unit tests The Buffer type is indended for use with the ctypes module. Pointer fields take integer addresses. None represents the NULL pointer. The 'obj' field takes an object, but also treats None as NULL.
Lenard Lindstrom
Add a readme file
Lenard Lindstrom
Add files