home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 28
/
amigaformatcd28.iso
/
-seriously_amiga-
/
programming
/
c
/
asap
/
freelist_.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-23
|
1KB
|
37 lines
/*****************************************************************************
* *
* ASAP - Amiga Software Authoring Platform *
* *
* Written by Laurie Perrin *
* *
* AFreeList wrapper class *
* *
*****************************************************************************/
#ifndef ASAP_FreeList_H
#define ASAP_FreeList_H
extern "C"
{
#include <Proto/Icon.h>
}
class AFreeList : public FreeList
{
public:
inline BOOL AddFreeList(APTR mem, unsigned long size);
inline void FreeFreeList();
};
//----------------------------------------------------------------------------
BOOL AFreeList::AddFreeList (APTR mem, unsigned long size)
{
return ::AddFreeList(this, mem, size);
}
//----------------------------------------------------------------------------
void AFreeList::FreeFreeList ()
{
::FreeFreeList(this);
}
#endif