/*
 * KCLL -  Ken and Chee's Limey Lisp  
 * All Rights to the code and any products created with this code is 
 * hereby granted. 
 *
 * I.E. You can do whatever the hell you want with this code. 
 * The only restriction is that this copyright notice not be modified.
 */

#ifndef MEM_INC_
#define MEM_INC_

#include "obj.h"

LLObj *llmake_obj();

typedef struct llheap_s {
  LLObj **objects;		/* array of pointers to ll objects created */
  long objnext;			/* array index of next free object pointer */
  long objalloc;		/* number of object pointers allocated  */
} LLHeap;
#endif

extern LLHeap llheap;
#define llcheap_size() (llheap.objnext)
