Go to the source code of this file.
◆ XSLISTCOPY
Value:if (copy == thisPtr)\
{\
return;\
}\
C##_assign(copy, thisPtr->m_size, thisPtr->m_data);
Definition at line 12 of file xscopy.h.
◆ XSLISTSWAP
◆ XSLISTSWAP2
#define XSLISTSWAP2 |
( |
|
C, |
|
|
|
B |
|
) |
| XSLISTSWAP3(C, B, C##_swap) |
◆ XSLISTSWAP3
#define XSLISTSWAP3 |
( |
|
C, |
|
|
|
B, |
|
|
|
S |
|
) |
| |
Value: B tmp;\
*((C**) &tmp.m_data) =
a->m_data;\
*((
XsSize*) &tmp.m_size) =
a->m_size;\
*((
int*) &tmp.m_flags) =
a->m_flags;\
*((C**) &
a->m_data) =
b->m_data;\
*((
int*) &
a->m_flags) =
b->m_flags;\
*((C**) &
b->m_data) = tmp.m_data;\
*((
XsSize*) &
b->m_size) = tmp.m_size;\
*((
int*) &
b->m_flags) = tmp.m_flags;\
} else { \
XsSize i;\
assert(
a->m_size ==
b->m_size);\
for (i = 0; i <
a->m_size; ++i) S(&
a->m_data[i], &
b->m_data[i]);\
}
The contained data should be managed (freed) by the object, when false, the object assumes the memory...
size_t XsSize
XsSize must be unsigned number!
GLubyte GLubyte GLubyte a
Definition at line 19 of file xscopy.h.