[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] chewy changes to cvs
Something I noticed in the code could be causing some wierdness, but I
haven't really tested it yet:
in surface.c surf_map_rgb declares "color" as an int but uses
PyInt_FromLong(color) to return the value to Python. I'm not familiar
enough with the Python interface to be sure, but it looks like this
could pick up some garbage from outside the int memory space.
Dave.
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org