19 lines
535 B
C++
19 lines
535 B
C++
#pragma once
|
|
|
|
#ifndef _BLOOMBERG_STRING_H_
|
|
#define _BLOOMBERG_STRING_H_
|
|
|
|
#include "faststring.h"
|
|
|
|
namespace Bloomberg
|
|
{
|
|
#ifdef BLOOMBERG_DLL
|
|
template class BLOOMBERG_DLL_ENTRY FastString<Char>;
|
|
#endif
|
|
typedef FastString<Char> String;
|
|
|
|
#define BLOOMBERG_ALLOCATE_CHAR_ARRAY(size, capacity) FastStringManager::GetInstance().AllocatedString(size, capacity)
|
|
#define BLOOMBERG_FREE_CHAR_ARRAY(ptr) FastStringManager::GetInstance().FreeString(ptr)
|
|
} // Namespace
|
|
|
|
#endif //BLOOMBERG_STRING_H_
|