Gracias Pablo y JAK:

Observen que interesante, en otro sitio yo habia encontrado [2]

La primera parte del párrafo es igual, 

The event queue can actually be used as a two way communication channel.
Not only can events be read from the queue, but the user can also push their 
own events onto it. 

luego dice:

event is a pointer to the event structure you wish to push onto the queue. 

en donde [1] dice

The event is copied into the queue, and the caller may dispose of the memory 
pointed to after SDL_PushEvent returns. 

Carlos

[1] http://sdl.beuc.net/sdl.wiki/SDL_PushEvent
[2] http://linux.die.net/man/3/sdl_pushevent


      

_______________________________________________
Lista de correo Programacion.
[email protected]
http://listas.fi.uba.ar/mailman/listinfo/programacion

Responder a