caudio/cAudio/Headers/cStandardMemoryProvider.h
Murat Suri f3cee669d5 * Use "#pragma once" instead ordinary include guards
* Remove redundant mutex locking in DecoderFactories (the access is already locked by the callee)
2011-05-29 18:33:24 +00:00

16 lines
415 B
C++

#pragma once
#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();
};
};