android/ringlibsdl/project/jni/libmodplug-0.8.8.4/src/load_mid.cpp
static void mid_stripoff(MIDTRACK *tp, MIDEVENT *e)
{
#ifndef NEWMIKMOD
	MIDEVENT *ep, *en;
	for( ep=e->next; ep; ep = en ) {
		en=ep->next;
		free(ep);
	}
#endif
	e->next  = NULL;
	tp->tail = e;
	tp->workevent = tp->head;
	mid_sync_track(tp, e->tracktick);
}
// cut off alle events that follow the given event
cut off alle events that follow the given event
cut off alle events that follow the given event
static void mid_stripoff(MIDTRACK *tp, MIDEVENT *e)
{
#ifndef NEWMIKMOD
	MIDEVENT *ep, *en;
	for( ep=e->next; ep; ep = en ) {
		en=ep->next;
		free(ep);
	}
#endif
	e->next  = NULL;
	tp->tail = e;
	tp->workevent = tp->head;
	mid_sync_track(tp, e->tracktick);
}
static void mid_stripoff ( MIDTRACK * tp , MIDEVENT * e ) { #ifndef NEWMIKMOD MIDEVENT * ep , * en ; for ( ep = e -> next ; ep ; ep = en ) { en = ep -> next ; free ( ep ) ; } #endif e -> next = NULL ; tp -> tail = e ; tp -> workevent = tp -> head ; mid_sync_track ( tp , e -> tracktick ) ; }
cut off alle events that follow the given event
cut off alle events that follow the given event