mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-04 21:01:30 -05:00
15 lines
259 B
C++
15 lines
259 B
C++
|
#include <precomp.h>
|
||
|
#include "attrstr.h"
|
||
|
|
||
|
#include <bfc/memblock.h>
|
||
|
|
||
|
const wchar_t *_string::getValue()
|
||
|
{
|
||
|
int l = getDataLen();
|
||
|
if (l <= 0) return L"";
|
||
|
MemBlock<wchar_t> mb(l+2);
|
||
|
getData(mb.getMemory(), l+2);
|
||
|
returnval = mb;
|
||
|
return returnval;
|
||
|
}
|