Definition at line 367 of file qcstring.h.
static LSData* QCString::LSData::create |
( |
int |
size | ) |
|
|
inlinestatic |
Definition at line 376 of file qcstring.h.
379 data = (LSData*)malloc(
sizeof(LSHeader)+
size);
382 data->toStr()[
size-1] = 0;
const char * data() const
void QCString::LSData::dispose |
( |
| ) |
|
|
inline |
static LSData* QCString::LSData::resize |
( |
LSData * |
d, |
|
|
int |
size |
|
) |
| |
|
inlinestatic |
Definition at line 393 of file qcstring.h.
395 if (
d->len>0 &&
d->refCount==0)
397 d = (LSData*)realloc(
d,
sizeof(LSHeader)+
size);
399 d->toStr()[
size-1] = 0;
407 memcpy(newData->toStr(),
d->toStr(),
len);
408 newData->toStr()[
len]=0;
static LSData * create(int size)
char* QCString::LSData::toStr |
( |
| ) |
|
|
inline |
Definition at line 369 of file qcstring.h.
371 return (
char*)(
this+1);
The documentation for this struct was generated from the following file: