Wrapped SecByteBlock and SecWordBlock in DOCUMENTED_TYPEDEF

pull/35/head
Jeffrey Walton 2015-08-01 16:53:33 -04:00
parent 9b552d06d2
commit ad352c64e0
1 changed files with 4 additions and 2 deletions

View File

@ -420,9 +420,11 @@ public:
T *m_ptr; T *m_ptr;
}; };
typedef SecBlock<byte> SecByteBlock; DOCUMENTED_TYPEDEF(SecBlock<byte>, SecByteBlock);
DOCUMENTED_TYPEDEF(SecBlock<word>, SecWordBlock);
// typedef SecBlock<byte> SecByteBlock;
typedef SecBlock<byte, AllocatorWithCleanup<byte, true> > AlignedSecByteBlock; typedef SecBlock<byte, AllocatorWithCleanup<byte, true> > AlignedSecByteBlock;
typedef SecBlock<word> SecWordBlock; // typedef SecBlock<word> SecWordBlock;
//! a SecBlock with fixed size, allocated statically //! a SecBlock with fixed size, allocated statically
template <class T, unsigned int S, class A = FixedSizeAllocatorWithCleanup<T, S> > template <class T, unsigned int S, class A = FixedSizeAllocatorWithCleanup<T, S> >