caudio/Headers/cStandardMemoryProvider.h
Joshua Jones 3b8704444a Comments and documentation.
Incremented the version in preparation for the next release.
2010-03-16 01:11:08 +00:00

19 lines
538 B
C++

#ifndef CSTANDARDMEMORYPROVIDER_H_INCLUDED
#define CSTANDARDMEMORYPROVIDER_H_INCLUDED
#include "../include/IMemoryProvider.h"
#include <cstring>
namespace cAudio
{
//! Memory provider that wraps the standard memalloc and free
class cStandardMemoryProvider : public IMemoryProvider
{
public:
virtual void* Allocate(size_t size, const char* filename, int line, const char* function);
virtual void Free(void* pointer);
virtual size_t getMaxAllocationSize();
};
};
#endif //! CSTANDARDMEMORYPROVIDER_H_INCLUDED