This commit is contained in:
Igor Pavlov
2003-12-11 00:00:00 +00:00
committed by Kornel Lesiński
commit 8c1b5c7b7e
982 changed files with 118799 additions and 0 deletions

16
Common/AlignedBuffer.h Executable file
View File

@@ -0,0 +1,16 @@
// AlignedBuffer.h
#ifndef __ALIGNBUFFER_H
#define __ALIGNBUFFER_H
class CAlignedBuffer
{
unsigned char *m_Buffer;
public:
CAlignedBuffer(): m_Buffer(0) {};
~CAlignedBuffer() { Free(); }
void *Allocate(size_t numItems, size_t itemSize, size_t alignValue);
void Free();
};
#endif