[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] [BUG] pygame-ctypes -- integration with c-modules
- To: pygame <pygame-users@xxxxxxxx>
- Subject: [pygame] [BUG] pygame-ctypes -- integration with c-modules
- From: Phil Hassey <philhassey@xxxxxxxxx>
- Date: Mon, 21 Aug 2006 07:43:23 -0700 (PDT)
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Mon, 21 Aug 2006 10:43:32 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=VIvJaRtKxL4wdBERFt5IRtmBoZhdsdca6ME4HKyCmSDI/r3WyTV+JGvG95O44PqP494j3nhyUqEFMoTS9MjANkpHZUj0dKnU9kYiNwhuDhHjNJYuaA30TUqYK7AkBujdNr3n6JMKSepo1Bj7WkSXesReV9A49V1oAFYXTZxdMjg= ;
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hey,
svn co svn://www.imitationpickles.org/ftetris/trunk
python setup.py build
python ftetris.py
pygame-ctypes just sort of hangs. I'm not sure what is going on, but my guess is that it isn't working because I'm passing some pygame.Surface's to some custom C code that I made. I use some of the macros in pygame.h to decode the structures into SDL_Surfaces in my code ...
I suspect this is one area where pygame-ctypes won't be compatible with pygame. What changes would I have to make to my code to get it to work with pygame-ctypes?
Thanks!
Phil
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.