Home | History | Annotate | Download | only in events

Lines Matching defs:tail

46 	int tail;
222 SDL_EventQ.tail = 0;
267 int tail, added;
269 tail = (SDL_EventQ.tail+1)%MAXEVENTS;
270 if ( tail == SDL_EventQ.head ) {
274 SDL_EventQ.event[SDL_EventQ.tail] = *event;
279 SDL_EventQ.event[SDL_EventQ.tail].syswm.msg =
283 SDL_EventQ.tail = tail;
289 /* Cut an event, and return the next valid spot, or the tail */
297 if ( (spot+1)%MAXEVENTS == SDL_EventQ.tail ) {
298 SDL_EventQ.tail = spot;
299 return(SDL_EventQ.tail);
306 if ( --SDL_EventQ.tail < 0 ) {
307 SDL_EventQ.tail = MAXEVENTS-1;
309 for ( here=spot; here != SDL_EventQ.tail; here = next ) {
346 while ((used < numevents)&&(spot != SDL_EventQ.tail)) {