pygame / src / fastevent.c

Author Commit Message Labels Comments Date
Changes from Marcus for ref counting bug fixes and Also using METH_NOARGS for functions with no arguments. Which should make some functions slightly faster.
Some cleanups from Marcus to stop compiler warnings. I also removed a _GNU_SOURCE define since python already specifies it, and it was causing warnings on my debian. Changed overlay.c to remove another warning with PyMethodDef Overlay_methods.
Some code cleanups from Marcus von Appen. min->MIN, indentation, other. A rewritten scrap module. Hasn't been tested on osx/windows. Issues with pasting into the gimp. Pasting from the gimp works fine.
experimental fastevents wrapper