home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 6
/
Aminet 6 - June 1995.iso
/
Aminet
/
dev
/
gcc
/
libnixV0_8.lha
/
gnu
/
libnix-sources.lha
/
sources
/
amiga
/
misc
/
FreeIEvents.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-12-12
|
334 b
|
19 lines
#include <devices/inputevent.h>
#ifdef __GNUC__
#include <inline/exec.h>
#else
#include <clib/exec_protos.h>
#endif
void FreeIEvents(volatile struct InputEvent *events)
{
struct InputEvent *next;
while(events!=NULL)
{
next=events->ie_NextEvent;
FreeMem((APTR)events,sizeof(struct InputEvent));
events=next;
}
}