diff options
Diffstat (limited to 'botan/src/alloc/allocate.h')
| -rw-r--r-- | botan/src/alloc/allocate.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/botan/src/alloc/allocate.h b/botan/src/alloc/allocate.h deleted file mode 100644 index 180f2c0..0000000 --- a/botan/src/alloc/allocate.h +++ /dev/null @@ -1,37 +0,0 @@ -/* -* Allocator -* (C) 1999-2007 Jack Lloyd -* -* Distributed under the terms of the Botan license -*/ - -#ifndef BOTAN_ALLOCATOR_H__ -#define BOTAN_ALLOCATOR_H__ - -#include <botan/types.h> -#include <string> - -namespace Botan { - -/* -* Allocator Interface -*/ -class BOTAN_DLL Allocator - { - public: - static Allocator* get(bool); - - virtual void* allocate(u32bit) = 0; - virtual void deallocate(void*, u32bit) = 0; - - virtual std::string type() const = 0; - - virtual void init() {} - virtual void destroy() {} - - virtual ~Allocator() {} - }; - -} - -#endif |
