25#include <proto/exec.h>
26#include <exec/lists.h>
27#include <exec/nodes.h>
34#define NewnsList NewMinList
37#define NewnsList NewList
58 if(list == NULL)
return;
65 struct MinList *objlist = (
struct MinList *)malloc(
sizeof(
struct nsList));
66 if(objlist == NULL)
return NULL;
82 if(dtzo == NULL)
return NULL;
84 memset(dtzo, 0,
sizeof(
struct nsObject));
85 AddTail((
struct List *)objlist,(
struct Node *)dtzo);
99 Remove((
struct Node *)dtzo);
132 }
while((node = nnode));
struct MinList * ami_AllocMinList(void)
List abstraction as OS3 appears to have problems with NewMinList()
struct MinList * NewObjList(void)
static void DelObjectInternal(struct nsObject *dtzo, BOOL free_obj)
void FreeObjList(struct MinList *objlist)
void ami_object_fini(void)
bool ami_object_init(void)
Initialisation for itempool.
void ObjectCallback(struct nsObject *dtzo, void(*callback)(void *nso))
void DelObject(struct nsObject *dtzo)
static void ami_NewMinList(struct MinList *list)
struct nsObject * AddObject(struct MinList *objlist, ULONG otype)
void DelObjectNoFree(struct nsObject *dtzo)
#define ami_memory_itempool_create(s)
#define ami_memory_itempool_alloc(p, s)
#define ami_memory_itempool_free(p, i, s)
#define ami_memory_itempool_delete(p)
struct Node * GetHead(struct List *list)
struct Node * GetSucc(struct Node *node)
Minimal compatibility header for AmigaOS 3.
#define IsMinListEmpty(L)
Interface to utility string handling.
void(* callback)(void *nso)