[SDL] About SDL_Draw library

Paul Duffy odubtaig at yahoo.co.uk
Thu Oct 11 12:06:11 PDT 2007


On Tue, 2007-10-09 at 22:55 +0800, cocobear wrote:
> extern DECLSPEC
> void (*Draw_Pixel)(SDL_Surface *super,
>                    Sint16 x, Sint16 y, Uint32 color);

That's a pointer to a function rather than a function in and of itself.
The functions themselves (which may be chosen based on colour depth or
compile-time directives such as endianness) will be in another file in
the source code.


	
	
		
___________________________________________________________ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html


More information about the SDL mailing list