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 68 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;\
*((
XsSize*) &tmp.m_flags) = a->m_flags;\
*((C**) &a->m_data) = b->m_data;\
*((
XsSize*) &a->m_size) = b->m_size;\
*((
XsSize*) &a->m_flags) = b->m_flags;\
*((C**) &b->m_data) = tmp.m_data;\
*((
XsSize*) &b->m_size) = tmp.m_size;\
*((
XsSize*) &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]);\
}
Definition at line 75 of file xscopy.h.