# [mem_base.h] Memory Management

## contents

#include "sysbase0.h"

## Memory

    long ObjCount(void)
| allocated objects
    StdCPtr NewMem(long objsize)
| creates an object of size 'objsize'; raises exception

    #if !defined(HAVE_CONFIG_H) || defined(HAVE_REALLOC)

    StdCPtr ResizeMem(StdCPtr Any, long objsize)
| resizes an object to size 'objsize'; raises exception

    #endif

    void FreeMem(StdCPtr Any)
| frees object 'Any'