memorypool.h
// Copyright (c) 2002 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_MEMORYPOOL_H
#define RUDIMENTS_MEMORYPOOL_H
#include <rudiments/private/memorypoolincludes.h>
class memorypoolprivate;
class RUDIMENTS_DLLSPEC memorypool {
public:
memorypool(size_t initialsize,
size_t increment,
size_t resizeinterval);
~memorypool();
unsigned char *allocate(size_t size);
unsigned char *allocateAndClear(size_t size);
void deallocate();
void print();
#include <rudiments/private/memorypool.h>
};
#endif