[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] C access to SDL surfaces



Pete Shinners wrote:
The code should look similar to this...

#include <pygame.h>
import_pygame_surface();  //  Only once at startup time

But note that if you use Pyrex and external extension
types, you won't have to make that call. Pyrex has its
own, automatic way of dynamically linking with imported
types.

--
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | Carpe post meridiem!          	  |
Christchurch, New Zealand	   | (I'm not a morning person.)          |
greg.ewing@xxxxxxxxxxxxxxxx	   +--------------------------------------+