mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 14:07:11 -06:00
4.20
This commit is contained in:
committed by
Kornel Lesiński
parent
8c1b5c7b7e
commit
3c510ba80b
@@ -1,7 +1,9 @@
|
||||
// AlignedBuffer.h
|
||||
// Common/AlignedBuffer.h
|
||||
|
||||
#ifndef __ALIGNBUFFER_H
|
||||
#define __ALIGNBUFFER_H
|
||||
#ifndef __COMMON_ALIGNEDBUFFER_H
|
||||
#define __COMMON_ALIGNEDBUFFER_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
class CAlignedBuffer
|
||||
{
|
||||
@@ -9,7 +11,7 @@ class CAlignedBuffer
|
||||
public:
|
||||
CAlignedBuffer(): m_Buffer(0) {};
|
||||
~CAlignedBuffer() { Free(); }
|
||||
void *Allocate(size_t numItems, size_t itemSize, size_t alignValue);
|
||||
void *Allocate(size_t size, size_t mask);
|
||||
void Free();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user